summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-07 14:45:05 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-07 14:45:05 +0000
commitf4b98a79e547de7e7a18f8168540d2f7304d2b47 (patch)
tree41795f6faf4806690e6d6afa74e8245cd455872b /perl-install/standalone/net_monitor
parentb3763612f3c0a2196cd8f992db4e73bdf5c4c6dc (diff)
downloaddrakx-f4b98a79e547de7e7a18f8168540d2f7304d2b47.tar
drakx-f4b98a79e547de7e7a18f8168540d2f7304d2b47.tar.gz
drakx-f4b98a79e547de7e7a18f8168540d2f7304d2b47.tar.bz2
drakx-f4b98a79e547de7e7a18f8168540d2f7304d2b47.tar.xz
drakx-f4b98a79e547de7e7a18f8168540d2f7304d2b47.zip
show ppp/isdn interfaces as well (#18303)
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor12
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;
}