summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-29 22:36:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-29 22:36:51 +0000
commitaf130a1374fbf25b0a779c6b61dcfa29c10d1fad (patch)
tree497090398708894d3ba14ea78effe5d1f5571fdc /perl-install/standalone/drakconnect
parent064736938021dcf23e373ed7161a34004927c907 (diff)
downloaddrakx-backup-do-not-use-af130a1374fbf25b0a779c6b61dcfa29c10d1fad.tar
drakx-backup-do-not-use-af130a1374fbf25b0a779c6b61dcfa29c10d1fad.tar.gz
drakx-backup-do-not-use-af130a1374fbf25b0a779c6b61dcfa29c10d1fad.tar.bz2
drakx-backup-do-not-use-af130a1374fbf25b0a779c6b61dcfa29c10d1fad.tar.xz
drakx-backup-do-not-use-af130a1374fbf25b0a779c6b61dcfa29c10d1fad.zip
replace conf_network_card_backend() "detect" calls by get_eth_cards() ones
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect4
1 files changed, 2 insertions, 2 deletions
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);
}