summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-08 14:01:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-08 14:01:49 +0000
commitf13bbd310aabedcbfe79076f28dca3822c56aa1d (patch)
treec003e7d62f3008370e5f7a9590d4e17d8be5269a /perl-install/network
parent0f405502f80d07b042513374fc4740040406cc62 (diff)
downloaddrakx-f13bbd310aabedcbfe79076f28dca3822c56aa1d.tar
drakx-f13bbd310aabedcbfe79076f28dca3822c56aa1d.tar.gz
drakx-f13bbd310aabedcbfe79076f28dca3822c56aa1d.tar.bz2
drakx-f13bbd310aabedcbfe79076f28dca3822c56aa1d.tar.xz
drakx-f13bbd310aabedcbfe79076f28dca3822c56aa1d.zip
fix typo
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 2339c270f..c54e54419 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -426,7 +426,7 @@ sub easy_dhcp {
my @all_cards = network::ethernet::conf_network_card_backend();
#- only for a single network card
- any { $_ eq 'eth0' } @all_cards && every { $_ ne 'eth1' } @all_cards or return;
+ any { $_->[0] eq 'eth0' } @all_cards && every { $_->[0] ne 'eth1' } @all_cards or return;
network::ethernet::conf_network_card_backend($netc, $intf, 'dhcp', 'eth0');