summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-18 16:36:44 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-18 16:36:44 +0000
commit2e30759359eb853807b40bec4b842440b417055a (patch)
treeffe2eb2f09e5a44bd47958670e9405b5d6146c53
parent35e5f2f79e49312d8f28826fc5b158ab66e6a318 (diff)
downloaddrakx-backup-do-not-use-2e30759359eb853807b40bec4b842440b417055a.tar
drakx-backup-do-not-use-2e30759359eb853807b40bec4b842440b417055a.tar.gz
drakx-backup-do-not-use-2e30759359eb853807b40bec4b842440b417055a.tar.bz2
drakx-backup-do-not-use-2e30759359eb853807b40bec4b842440b417055a.tar.xz
drakx-backup-do-not-use-2e30759359eb853807b40bec4b842440b417055a.zip
fix automatic net interface detection
-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() {