summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/ppp.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 22:24:34 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 22:24:34 +0000
commitac674da1435aba942053eb90524be3201bdfb531 (patch)
tree05e22178a7bfa4068383db400874beb51f7ca008 /lib/network/connection/ppp.pm
parentb05173ede74f6aa64e096e7f43913eea7f3e1f8f (diff)
downloaddrakx-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.pm2
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;
}