diff options
-rw-r--r-- | perl-install/network/netconnect.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 09bc30243..d632e396b 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -114,7 +114,8 @@ If you don't want to use the auto detection, deselect the checkbox. ); - $conf{$_} = $netc->{autodetect}{$_} ? 1 : 0 foreach 'modem', 'winmodem', 'adsl', 'cable', 'lan'; + $conf{$_} = values %{$netc->{autodetect}{$_}} ? 1 : 0 foreach 'lan'; + $conf{$_} = $netc->{autodetect}{$_} ? 1 : 0 foreach qw(adsl cable modem winmodem); $conf{isdn} = $netc->{autodetect}{isdn}{driver} ? 1 : 0; step_2: |