From 9636c914eff567fddb7e6bafe69f0e17c47dc141 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 14 May 2008 18:33:35 +0000 Subject: do not list hso* interfaces as ethernet interfaces --- perl-install/detect_devices.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/detect_devices.pm') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index f26f64d52..679767af4 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -614,12 +614,13 @@ sub is_lan_interface { # we want LAN like interfaces here (eg: ath|br|eth|fddi|plip|ra|tr|usb|wlan). # there's also bnep%d for bluetooth, bcp%d... # we do this by blacklisting the following interfaces: + # hso%d are created by drivers/net/usb/hso.c # ippp|isdn|plip|ppp (initscripts suggest that isdn%d can be created but kernel sources claim not) # 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 is_useful_interface($_[0]) && - $_[0] !~ /^(?:ippp|isdn|plip|ppp)/; + $_[0] !~ /^(?:hso|ippp|isdn|plip|ppp)/; } sub is_useful_interface { -- cgit v1.2.1