From f4b98a79e547de7e7a18f8168540d2f7304d2b47 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 7 Sep 2005 14:45:05 +0000 Subject: show ppp/isdn interfaces as well (#18303) --- perl-install/standalone/net_monitor | 12 ++++++------ 1 file 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; } -- cgit v1.2.1