summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 16:11:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 16:11:31 +0000
commit4be7f0370e0f77634ddc3e7e228df34050374d69 (patch)
tree6bf95fddc9332f0709ad841d54ce214e04fa39ea /perl-install/network
parent88c2a1ec6b2c8e3c8b4119021137d4438bbc4262 (diff)
downloaddrakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar
drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar.gz
drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar.bz2
drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar.xz
drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.zip
read back auth method
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index b9b2b98df..355aa8be4 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -432,6 +432,7 @@ killall pppd
$modem ||= $netcnx->{$netcnx->{type}};
$modem->{device} ||= $first_modem->()->{device};
my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc");
+ $modem->{auth} ||= { 0 => N("Script-based"), 1 => N("PAP"), 2 => N("Terminal-based"), 3 => N("CHAP"), 4 => N("PAP/CHAP") }->{$l{Authentication}};
$modem->{$_} ||= $l{$_} foreach qw (Gateway IPAddr SubnetMask);
$modem->{connection} ||= $l{Name};
$modem->{domain} ||= $l{Domain};