summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
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 /perl-install/network/netconnect.pm
parent3589c648264443b93e68a0b0a976a73a13b6484e (diff)
downloaddrakx-backup-do-not-use-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar
drakx-backup-do-not-use-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar.gz
drakx-backup-do-not-use-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar.bz2
drakx-backup-do-not-use-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.tar.xz
drakx-backup-do-not-use-8d5b3494c3a8d1b0f6d50265438ff912ed6a7c18.zip
ask to connect for modem/isdn connections too (crappy fix, this needs
to be redesigned once 10.1 is out)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-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->();
}
};