diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-15 22:24:34 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-15 22:24:34 +0000 |
commit | ac674da1435aba942053eb90524be3201bdfb531 (patch) | |
tree | 05e22178a7bfa4068383db400874beb51f7ca008 /lib/network/connection/ppp.pm | |
parent | b05173ede74f6aa64e096e7f43913eea7f3e1f8f (diff) | |
download | drakx-net-ac674da1435aba942053eb90524be3201bdfb531.tar drakx-net-ac674da1435aba942053eb90524be3201bdfb531.tar.gz drakx-net-ac674da1435aba942053eb90524be3201bdfb531.tar.bz2 drakx-net-ac674da1435aba942053eb90524be3201bdfb531.tar.xz drakx-net-ac674da1435aba942053eb90524be3201bdfb531.zip |
introduce a use_chat field to allow writing chat even if no dial number is specified
Diffstat (limited to 'lib/network/connection/ppp.pm')
-rw-r--r-- | lib/network/connection/ppp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/ppp.pm b/lib/network/connection/ppp.pm index 6efdf81..496ccda 100644 --- a/lib/network/connection/ppp.pm +++ b/lib/network/connection/ppp.pm @@ -132,7 +132,7 @@ sub write_peer { sub write_ppp_settings { my ($self) = @_; $self->write_secrets if $self->{access}{login}; - $self->write_chat if $self->{access}{dial_number}; + $self->write_chat if $self->{access}{use_chat}; $self->write_peer; } |