diff options
Diffstat (limited to 'lib/network')
-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}; |