diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-05-19 15:28:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-05-19 15:28:36 +0000 |
commit | b8266795f0feff415261179120d70d0e6910cdfb (patch) | |
tree | 1686850eb0db7cb1d67fea645a5b53ee40c01e1f /perl-install/network | |
parent | b653de526b0a1cb7556ad744facae34b42c645e7 (diff) | |
download | drakx-backup-do-not-use-b8266795f0feff415261179120d70d0e6910cdfb.tar drakx-backup-do-not-use-b8266795f0feff415261179120d70d0e6910cdfb.tar.gz drakx-backup-do-not-use-b8266795f0feff415261179120d70d0e6910cdfb.tar.bz2 drakx-backup-do-not-use-b8266795f0feff415261179120d70d0e6910cdfb.tar.xz drakx-backup-do-not-use-b8266795f0feff415261179120d70d0e6910cdfb.zip |
forward better LAN vs wireless filtering
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index d4ff1ab1d..18f75b032 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -130,8 +130,8 @@ sub real_main { @all_cards = network::ethernet::get_eth_cards(); %eth_intf = network::ethernet::get_eth_cards_names(@all_cards); require list_modules; - my @wmodules = list_modules::category2modules('network/wireless'); - %eth_intf = map { $_->[0] => join(': ', $_->[0], $_->[2]) } grep { int(!$is_wireless) ^ member($_->[1], @wmodules) } @all_cards; + %eth_intf = map { $_->[0] => join(': ', $_->[0], $_->[2]) } + grep { $is_wireless ^ !c::isNetDeviceWirelessAware($_->[0]) } @all_cards; }; my $find_lan_module = sub { |