From 8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 27 Sep 2004 12:52:04 +0000 Subject: ask to connect for modem/isdn connections too (crappy fix, this needs to be redesigned once 10.1 is out) --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index d92f6391a..16dbd0458 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -218,7 +218,7 @@ sub real_main { if (1 < $nb) { return "multiple_internet_cnx"; } else { - $netc->{internet_cnx_choice} = (keys %{$netc->{internet_cnx}})[0] if $nb == 1; + $netc->{internet_cnx_choice} = $nb == 1 ? (keys %{$netc->{internet_cnx}})[0] : $netcnx->{type}; return $save_cnx->(); } }; -- cgit v1.2.1