summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-07 14:45:40 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-07 14:45:40 +0000
commit3bf37050138829e5204e20634819c2c9e96ef943 (patch)
treec83b38b4b9dd5f02f5b0b04d506ab0a13f1092eb /perl-install/standalone/net_monitor
parentf4b98a79e547de7e7a18f8168540d2f7304d2b47 (diff)
downloaddrakx-3bf37050138829e5204e20634819c2c9e96ef943.tar
drakx-3bf37050138829e5204e20634819c2c9e96ef943.tar.gz
drakx-3bf37050138829e5204e20634819c2c9e96ef943.tar.bz2
drakx-3bf37050138829e5204e20634819c2c9e96ef943.tar.xz
drakx-3bf37050138829e5204e20634819c2c9e96ef943.zip
really preselect default interface
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index 3dd30211c..b513b5474 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -44,7 +44,7 @@ my ($default_intf) = "@ARGV" =~ /--defaultintf (\w+)/;
my $net = {};
network::network::read_net_conf($net);
-$default_intf ||= $net->{default}{interface};
+$default_intf ||= $net->{net_interface};
if ($force) {
$connect and network::tools::start_interface($default_intf, 1);