summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-17 07:25:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-17 07:25:37 +0000
commit3b5176d96695968a899bf0efa882c23269e130d0 (patch)
treea8df00cc9ae86566e46acc10b5f5f4f4b3c0db49 /perl-install/network
parent210d6d78b10d5b22023ba2df52726a66b1dc25bd (diff)
downloaddrakx-3b5176d96695968a899bf0efa882c23269e130d0.tar
drakx-3b5176d96695968a899bf0efa882c23269e130d0.tar.gz
drakx-3b5176d96695968a899bf0efa882c23269e130d0.tar.bz2
drakx-3b5176d96695968a899bf0efa882c23269e130d0.tar.xz
drakx-3b5176d96695968a899bf0efa882c23269e130d0.zip
perl generate undef indefinitely from the void
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm2
-rw-r--r--perl-install/network/netconnect.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 0d62c68ba..28b71adba 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -165,7 +165,7 @@ sub configureNetwork {
local $_;
modules::interactive::load_category($in, 'network/main|gigabit|usb|pcmcia', !$::expert, 1) or return;
my @l = detect_devices::getNet() or die N("no network card found");
- my @all_cards = conf_network_card_backend($netc, $intf, undef, undef, undef, undef);
+ my @all_cards = conf_network_card_backend($netc, $intf);
configureNetwork_step_1:
my $n_card = 0;
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 85bf8dd74..d7820e854 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -62,7 +62,7 @@ sub detect {
modules::load_category('network/main|gigabit|usb');
require network::ethernet;
network::ethernet->import;
- my @all_cards = conf_network_card_backend(undef, undef, undef, undef, undef, undef);
+ my @all_cards = conf_network_card_backend();
map { $auto_detect->{lan}{$_->[0]} = $_->[1] } @all_cards if !$net_install;
my $adsl = {};
@@ -330,7 +330,7 @@ sub save_conf {
modules::load_category('network/main|gigabit|usb');
require network::ethernet;
network::ethernet->import;
- my @_all_cards = conf_network_card_backend($netc, $intf, undef, undef, undef, undef);
+ my @_all_cards = conf_network_card_backend($netc, $intf);
$intf = { %$intf };
my $str;