summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-06 12:50:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-06 12:50:24 +0000
commita6b62ff406a15ce28c60d74406e7831e2e51f52b (patch)
treeca7275bbfdeea7dad119683b8c8d3289de32168f /perl-install/network/ethernet.pm
parent8f042ae66a87164de605ce880478d676ddbbdba9 (diff)
downloaddrakx-backup-do-not-use-a6b62ff406a15ce28c60d74406e7831e2e51f52b.tar
drakx-backup-do-not-use-a6b62ff406a15ce28c60d74406e7831e2e51f52b.tar.gz
drakx-backup-do-not-use-a6b62ff406a15ce28c60d74406e7831e2e51f52b.tar.bz2
drakx-backup-do-not-use-a6b62ff406a15ce28c60d74406e7831e2e51f52b.tar.xz
drakx-backup-do-not-use-a6b62ff406a15ce28c60d74406e7831e2e51f52b.zip
(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
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm3
1 files changed, 1 insertions, 2 deletions
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");