summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-18 16:19:29 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-18 16:19:29 +0000
commitc64cdd4919436056ed22cee7b83047f1ee35961a (patch)
treedf95c4550a09c4bb6bb0dcdac3de6426962ac837 /perl-install/network
parent84373a9633cde6c8a9e96f4f28579238b6a87bb8 (diff)
downloaddrakx-c64cdd4919436056ed22cee7b83047f1ee35961a.tar
drakx-c64cdd4919436056ed22cee7b83047f1ee35961a.tar.gz
drakx-c64cdd4919436056ed22cee7b83047f1ee35961a.tar.bz2
drakx-c64cdd4919436056ed22cee7b83047f1ee35961a.tar.xz
drakx-c64cdd4919436056ed22cee7b83047f1ee35961a.zip
fix automatic net interface detection
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/shorewall.pm3
1 files changed, 1 insertions, 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() {