summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-06 06:48:46 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-06 06:48:46 +0000
commit0ad8031191082c38a546296c096e9bfeb43eac8a (patch)
treec74985953e1f82abe54920065e116dac0d26701c /perl-install/detect_devices.pm
parent7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62 (diff)
downloaddrakx-0ad8031191082c38a546296c096e9bfeb43eac8a.tar
drakx-0ad8031191082c38a546296c096e9bfeb43eac8a.tar.gz
drakx-0ad8031191082c38a546296c096e9bfeb43eac8a.tar.bz2
drakx-0ad8031191082c38a546296c096e9bfeb43eac8a.tar.xz
drakx-0ad8031191082c38a546296c096e9bfeb43eac8a.zip
(getNet) fix detection in 2.4 kernel for net devices with high traffic
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index db273165d..92b7c0b5f 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -526,7 +526,7 @@ sub getNet() {
grep { !/^(?:lo|ippp|isdn|plip|ppp|sit0)/ }
uniq(
- (map { if_(/^\s*([A-Za-z0-9:\.]*):\s/, $1) } cat_("/proc/net/dev")),
+ (map { if_(/^\s*([A-Za-z0-9:\.]*):/, $1) } cat_("/proc/net/dev")),
c::get_netdevices(),
);
}