summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
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);