From dedfe7c9abf18dce6329f552f00e78a22b404672 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 26 Mar 2008 12:03:34 +0000 Subject: declare gw_address --- lib/network/tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1