From ac674da1435aba942053eb90524be3201bdfb531 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 May 2008 22:24:34 +0000 Subject: introduce a use_chat field to allow writing chat even if no dial number is specified --- lib/network/connection/ppp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network/connection/ppp.pm') 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; } -- cgit v1.2.1