From c64cdd4919436056ed22cee7b83047f1ee35961a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 18 Apr 2005 16:19:29 +0000 Subject: fix automatic net interface detection --- perl-install/network/shorewall.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index eb3a4e045..fe5c2678a 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -50,8 +50,7 @@ sub get_default_device() { my $netc = {}; my $intf = {}; network::netconnect::read_net_conf($netcnx, $netc, $intf); - my $default_intf = network::tools::get_default_gateway_interface($netc, $intf); - $default_intf->{DEVICE}; + network::tools::get_default_gateway_interface($netc, $intf); } sub get_net_device() { -- cgit v1.2.1