diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-17 07:25:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-17 07:25:37 +0000 |
commit | 3b5176d96695968a899bf0efa882c23269e130d0 (patch) | |
tree | a8df00cc9ae86566e46acc10b5f5f4f4b3c0db49 /perl-install | |
parent | 210d6d78b10d5b22023ba2df52726a66b1dc25bd (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/network/ethernet.pm | 2 | ||||
-rw-r--r-- | perl-install/network/netconnect.pm | 4 | ||||
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
3 files changed, 4 insertions, 4 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; diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 14bacd7f1..c87812143 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -67,7 +67,7 @@ import ugtk2 qw(:helpers :wrappers :create); my $expert_mode = 0; network::netconnect::read_net_conf('', $netcnx, $netc); modules::load_category('net'); -my @all_cards = network::ethernet::conf_network_card_backend($netc, $intf, undef, undef, undef, undef); +my @all_cards = network::ethernet::conf_network_card_backend($netc, $intf); network::netconnect::load_conf($netcnx, $netc, $intf); my $window1 = ugtk2->new('drakconnect'); |