From 98b351b053aaec48a022114b594fdac1caaaf481 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 18 May 2008 19:12:07 +0000 Subject: add network::connection::get_networks (so that we can know if a networks probe has already been performed) --- lib/network/connection.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/network/connection.pm') diff --git a/lib/network/connection.pm b/lib/network/connection.pm index 6415282..f397f08 100644 --- a/lib/network/connection.pm +++ b/lib/network/connection.pm @@ -231,6 +231,12 @@ sub write_settings { network::network::reload_net_applet(); } +sub get_networks { + my ($self) = @_; + $self->{probed_networks} = 1; + $self->{networks}; +} + sub connect { my ($self) = @_; require network::tools; -- cgit v1.2.1