summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
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 /perl-install/detect_devices.pm
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)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 2 insertions, 1 deletions
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 {