summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
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;