summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 11:47:16 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 11:47:16 +0000
commit095304e9ba599b9ce9219ee5c64eabe3c89fc9a7 (patch)
tree597c86d8f0a452de61eae5f300ec20b556ed6d1c
parent1cfe1832f583c3e8428c11926707774079dc5fbc (diff)
downloaddrakx-095304e9ba599b9ce9219ee5c64eabe3c89fc9a7.tar
drakx-095304e9ba599b9ce9219ee5c64eabe3c89fc9a7.tar.gz
drakx-095304e9ba599b9ce9219ee5c64eabe3c89fc9a7.tar.bz2
drakx-095304e9ba599b9ce9219ee5c64eabe3c89fc9a7.tar.xz
drakx-095304e9ba599b9ce9219ee5c64eabe3c89fc9a7.zip
do not detect pan* devices as ethernet devices for now
(network configuration tools do not fully support them)
-rw-r--r--perl-install/NEWS7
-rw-r--r--perl-install/detect_devices.pm3
2 files changed, 7 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 8465c5309..6dd0d34e3 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,8 @@
-- detect_devices: allow detection of low resources systems (extracted
- from compssUsers.pl) and netbooks/nettops
+- detect_devices:
+ o allow detection of low resources systems (extracted
+ from compssUsers.pl) and netbooks/nettops
+ o do not detect pan* devices as ethernet devices for now
+ (network configuration tools do not fully support them)
Version 11.63 - 1 October 2008
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index b2083ca60..1a8e64ca3 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -626,8 +626,9 @@ sub is_lan_interface {
#- ippp%d are created by drivers/isdn/i4l/isdn_ppp.c
#- plip%d are created by drivers/net/plip.c
#- ppp%d are created by drivers/net/ppp_generic.c
+ #- pan%d are created by bnep
is_useful_interface($_[0]) &&
- $_[0] !~ /^(?:hso|ippp|isdn|plip|ppp)/;
+ $_[0] !~ /^(?:hso|ippp|isdn|plip|ppp|pan)/;
}
sub is_useful_interface {