summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-21 16:57:03 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-21 16:57:03 +0000
commit22e04eec30f1604bfca5c511330f8d2fb635ba43 (patch)
treef961d6023d54e79efb6d4545ead67411ce6cf7d1 /perl-install
parente9b511fe61357f8139d7c284ad78adc9b9faaf2c (diff)
downloaddrakx-22e04eec30f1604bfca5c511330f8d2fb635ba43.tar
drakx-22e04eec30f1604bfca5c511330f8d2fb635ba43.tar.gz
drakx-22e04eec30f1604bfca5c511330f8d2fb635ba43.tar.bz2
drakx-22e04eec30f1604bfca5c511330f8d2fb635ba43.tar.xz
drakx-22e04eec30f1604bfca5c511330f8d2fb635ba43.zip
is_lan_interface: do not list wifi%d interfaces as LAN devices (#14523)
Diffstat (limited to 'perl-install')
-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 618cb2e6c..94a092824 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -558,12 +558,13 @@ 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
+ # - wifi%d are created by 3rdparty/hostap/hostap_hw.c (pseudo statistics devices, #14523)
#
# we need both detection schemes since:
# - get_netdevices() use the SIOCGIFCONF ioctl that does not list interfaces that are down
# - /proc/net/dev does not list VLAN and IP aliased interfaces
- $_[0] !~ /^(?:lo|ippp|isdn|plip|ppp|sit0)/;
+ $_[0] !~ /^(?:lo|ippp|isdn|plip|ppp|sit0|wifi)/;
}
sub getNet() {