diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-05 15:16:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-05 15:16:16 +0000 |
commit | 4d6989b928bf09ad3ed55128af5bdd5d51551827 (patch) | |
tree | 7c674a0c410136c119eb38d81ea627f6ce1dd325 /perl-install/network/netconnect.pm | |
parent | e0b3337266c273ac85815c3b9feb574dbcd0d73d (diff) | |
download | drakx-4d6989b928bf09ad3ed55128af5bdd5d51551827.tar drakx-4d6989b928bf09ad3ed55128af5bdd5d51551827.tar.gz drakx-4d6989b928bf09ad3ed55128af5bdd5d51551827.tar.bz2 drakx-4d6989b928bf09ad3ed55128af5bdd5d51551827.tar.xz drakx-4d6989b928bf09ad3ed55128af5bdd5d51551827.zip |
set netcnx type when an external isdn modem is selected, or else
modem::ppp_read_conf will crash (Anthill #1033)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |