From a6b62ff406a15ce28c60d74406e7831e2e51f52b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 6 Nov 2003 12:50:24 +0000 Subject: (conf_network_card_backend) fix unseen/unconfigured usb wireless devices due to francois trap for aliased interfaces (new detect_device::getNet() filter out aliases which were the reasons for the test) btw, if no alias was found, there's a bug somewhere --- perl-install/network/ethernet.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index 8c3bb5b56..88ece2e96 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -123,8 +123,7 @@ sub conf_network_card_backend { } $a ||= $b; $a and $saved_driver = $a; - if_($::isInstall || $interface_state =~ /inet addr|Bcast|Mask|Interrupt|Base address/ && $a, - [$interface, $saved_driver]); + [ $interface, $saved_driver ] } @all_cards; } $o_interface =~ /eth[0-9]+/ or die("the interface is not an ethx"); -- cgit v1.2.1