summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-27 12:52:04 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-27 12:52:04 +0000
commit8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18 (patch)
tree30797966c1c48640be50a0f9d8f1342001fb849d
parent3589c648264443b93e68a0b0a976a73a13b6484e (diff)
downloaddrakx-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar
drakx-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar.gz
drakx-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar.bz2
drakx-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar.xz
drakx-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.zip
ask to connect for modem/isdn connections too (crappy fix, this needs
to be redesigned once 10.1 is out)
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
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->();
}
};