summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/net_monitor5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index 7124c8a84..f82ed8b3c 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -323,11 +323,12 @@ sub get_val() {
$a =~ s/^.*?\n.*?\n//;
$a =~ s/^\s*lo:.*?\n//;
my @line = split(/\n/, $a);
- my @interfaces = c::get_netdevices();
+ require detect_devices;
+ my @net_devices = detect_devices::getNet();
map {
s/\s*(\w*)://;
my $intf = $1;
- if (member($intf, @interfaces)) {
+ if (member($intf, @net_devices)) {
$monitor->{$intf}{val} = [ split() ];
$monitor->{$intf}{intf} = $intf;
$intf;