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/standalone/drakconnect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/drakconnect') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index e378da94b..b987513c3 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -579,7 +579,7 @@ sub get_intf_ip { my %intf; sub update_list() { - @all_cards = network::ethernet::conf_network_card_backend($netc, $intf); + @all_cards = network::ethernet::get_eth_cards(); my %new_intf = map { @$_ } @all_cards; my @new_intf = sort keys %new_intf; foreach my $interface (difference2(\@new_intf, [ keys %intf ])) { @@ -919,7 +919,7 @@ Please run \"Internet access\" in control center.")); sub reread_net_conf() { network::netconnect::read_net_conf('', $netcnx, $netc); modules::load_category('net'); - @all_cards = network::ethernet::conf_network_card_backend($netc, $intf); + @all_cards = network::ethernet::get_eth_cards(); network::netconnect::load_conf($netcnx, $netc, $intf); network::network::probe_netcnx_type('', $netc, $intf, $netcnx); } -- cgit v1.2.1