diff options
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-x | perl-install/standalone/net_monitor | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index 2a43b2709..3dd30211c 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -318,15 +318,15 @@ sub get_val() { $a =~ s/^\s*lo:.*?\n//; my @line = split(/\n/, $a); require detect_devices; - my @net_devices = detect_devices::getNet(); + my @net_devices = detect_devices::get_net_interfaces(); map { s/\s*(\w*)://; my $intf = $1; - if (member($intf, @net_devices)) { - $monitor->{$intf}{val} = [ split() ]; - $monitor->{$intf}{intf} = $intf; - $intf; - } else { () } + if (member($intf, @net_devices)) { + $monitor->{$intf}{val} = [ split() ]; + $monitor->{$intf}{intf} = $intf; + $intf; + } else { () } } @line; } |