diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-05 15:20:18 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-05 15:20:18 +0000 |
commit | 69ed97ebc308a4ba676bc6155ca5c7bbf0c151c7 (patch) | |
tree | cf27fedf4f2828b86e159d69fdb7eeab6208125b | |
parent | 4b5a9e050d616746d204106482947665cd54b2d1 (diff) | |
download | drakx-backup-do-not-use-69ed97ebc308a4ba676bc6155ca5c7bbf0c151c7.tar drakx-backup-do-not-use-69ed97ebc308a4ba676bc6155ca5c7bbf0c151c7.tar.gz drakx-backup-do-not-use-69ed97ebc308a4ba676bc6155ca5c7bbf0c151c7.tar.bz2 drakx-backup-do-not-use-69ed97ebc308a4ba676bc6155ca5c7bbf0c151c7.tar.xz drakx-backup-do-not-use-69ed97ebc308a4ba676bc6155ca5c7bbf0c151c7.zip |
set netcnx type when an external isdn modem is selected, or else
modem::ppp_read_conf will crash (Anthill #1033)
-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 35763ce8d..a69446ac4 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -342,7 +342,7 @@ sub real_main { return "isdn_ask"; } elsif ($isdn_name eq N("External ISDN modem")) { detect($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'; |