From 5f381cb6890b3edac05397a82f8c3041ddb472e5 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 18 Sep 2008 14:50:36 +0000 Subject: keep all settings (for next commit) --- perl-install/pkgs.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 4596e94bc..d26640622 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -178,8 +178,9 @@ sub detect_network_drivers { foreach my $type (network::connection->get_types) { $type->can('get_thirdparty_settings') or next; my @network_settings; + my @all_settings = @{$type->get_thirdparty_settings || []}; if ($o_match_all_hardware) { - @network_settings = @{$type->get_thirdparty_settings || []}; + @network_settings = @all_settings; } else { my @connections = $type->get_connections(automatic_only => 1, fast_only => 1); @network_settings = map { @{$_->get_thirdparty_settings || []} } @connections; -- cgit v1.2.1