From af130a1374fbf25b0a779c6b61dcfa29c10d1fad Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 29 Jan 2004 22:36:51 +0000 Subject: replace conf_network_card_backend() "detect" calls by get_eth_cards() ones --- perl-install/network/network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/network/network.pm') diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 51460d54b..cccd4767d 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -368,7 +368,7 @@ sub easy_dhcp { require modules; require network::ethernet; modules::load_category('network/main|gigabit|usb'); - my @all_cards = network::ethernet::conf_network_card_backend(); + my @all_cards = network::ethernet::get_eth_cards(); #- only for a single network card (any { $_->[0] eq 'eth0' } @all_cards) && (every { $_->[0] ne 'eth1' } @all_cards) or return; -- cgit v1.2.1