diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-19 15:29:31 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-19 15:29:31 +0000 |
commit | bb13d243eaf272ccf63ac57d4ea375aaf7a5eaf4 (patch) | |
tree | f6adb33a262e67a4ffe9fffd930d786d0c3cffc8 /lib/network/tools.pm | |
parent | e22a710bf5a4263dd3ced55ebebbaae433fdaffc (diff) | |
download | drakx-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 'lib/network/tools.pm')
-rw-r--r-- | lib/network/tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/tools.pm b/lib/network/tools.pm index 840834a..1d4df88 100644 --- a/lib/network/tools.pm +++ b/lib/network/tools.pm @@ -193,7 +193,7 @@ sub get_interface_status { } #- returns (gateway_interface, interface is up, gateway address, dns server address) -sub get_internet_connection { +sub get_default_connection { my ($net, $o_gw_intf) = @_; my $gw_intf = $o_gw_intf || get_default_gateway_interface($net) or return; return $gw_intf, get_interface_status($gw_intf), $net->{resolv}{dnsServer}; |