From 4d6989b928bf09ad3ed55128af5bdd5d51551827 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 5 Aug 2004 15:16:16 +0000 Subject: set netcnx type when an external isdn modem is selected, or else modem::ppp_read_conf will crash (Anthill #1033) --- 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 78dacffa3..7d45264a9 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -348,7 +348,7 @@ sub real_main { return "isdn_ask"; } elsif ($isdn_name eq N("External ISDN modem")) { detect($modules_conf, $netc->{autodetect}, 'modem'); - $netc->{isdntype} = 'isdn_external'; + $netcnx->{type} = $netc->{isdntype} = 'isdn_external'; $netcnx->{isdn_external}{device} = network::modem::first_modem($netc); network::isdn::read_config($netcnx->{isdn_external}); $netcnx->{isdn_external}{special_command} = 'AT&F&O2B40'; -- cgit v1.2.1