summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-19 15:29:31 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-19 15:29:31 +0000
commitbb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4 (patch)
treef6adb33a262e67a4ffe9fffd930d786d0c3cffc8 /bin
parente22a710bf5a4263dd3ced55ebebbaae433fdaffc (diff)
downloaddrakx-net-bb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4.tar
drakx-net-bb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4.tar.gz
drakx-net-bb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4.tar.bz2
drakx-net-bb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4.tar.xz
drakx-net-bb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4.zip
rename network::tools::get_internet_connection as network::tools::get_default_connection (will break mdkapplet)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 31f9695..34b391c 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -279,7 +279,7 @@ sub checkWireless() {
sub checkNetwork() {
my ($gw_intf, $_is_up, $gw_address) = $watched_interface ?
($watched_interface, network::tools::get_interface_status($watched_interface)) :
- network::tools::get_internet_connection($net);
+ network::tools::get_default_connection($net);
go2State($gw_address ? 'connected' : $gw_intf ? 'disconnected' : 'unconfigured', $gw_intf);
}
sub checkNetworkForce() {