From 51ed1a47e2b512929eb4b531f723ac5d5f5310ac Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 9 Mar 2004 16:51:29 +0000 Subject: fix parameters reading/writin in isdn config step: take parameters from isdn data structure, not cnx one --- perl-install/network/netconnect.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'perl-install/network/netconnect.pm') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index a87575599..8d904233c 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -264,18 +264,18 @@ sub real_main { [ $netcnx, "io", { label => N("Card IO") } ], [ $netcnx, "io0", { label => N("Card IO_0") } ], [ $netcnx, "io1", { label => N("Card IO_1") } ], - [ $netcnx, "phone_in", { label => N("Your personal phone number") } ], + [ $isdn, "phone_in", { label => N("Your personal phone number") } ], [ $netc, "DOMAINNAME2", { label => N("Provider name (ex provider.net)") } ], - [ $netcnx, "phone_out", { label => N("Provider phone number") } ], + [ $isdn, "phone_out", { label => N("Provider phone number") } ], [ $netc, "dnsServer2", { label => N("Provider DNS 1 (optional)") } ], [ $netc, "dnsServer3", { label => N("Provider DNS 2 (optional)") } ], - [ $netcnx, "dialing_mode", { label => N("Dialing mode"), list => ["auto", "manual"] } ], - [ $netcnx, "speed", { label => N("Connection speed"), list => ["64 Kb/s", "128 Kb/s"] } ], - [ $netcnx, "huptimeout", { label => N("Connection timeout (in sec)") } ], + [ $isdn, "dialing_mode", { label => N("Dialing mode"), list => ["auto", "manual"] } ], + [ $isdn, "speed", { label => N("Connection speed"), list => ["64 Kb/s", "128 Kb/s"] } ], + [ $netcnx, "huptimeout", { label => N("Connection timeout (in sec)") } ], #unused? ) ), - ({ label => N("Account Login (user name)"), val => \$netcnx->{login} }, - { label => N("Account Password"), val => \$netcnx->{passwd}, hidden => 1 }, + ({ label => N("Account Login (user name)"), val => \$isdn->{login} }, + { label => N("Account Password"), val => \$isdn->{passwd}, hidden => 1 }, ) ], }, -- cgit v1.2.1