diff options
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 b00bdb0..efa38f9 100644 --- a/lib/network/tools.pm +++ b/lib/network/tools.pm @@ -200,7 +200,7 @@ sub get_default_connection { } sub has_network_connection() { - (undef, undef, $gw_address) = get_default_connection({}); + (undef, undef, my $gw_address) = get_default_connection({}); to_bool($gw_address); } |