diff options
-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 78eafa8..5ece06e 100644 --- a/lib/network/connection/ppp.pm +++ b/lib/network/connection/ppp.pm @@ -115,7 +115,7 @@ sub build_peer { #- connect #- pty #- plugin - if ($self->{access}{dial_number}) { + if ($self->{access}{use_chat}) { my $chat_file = $self->get_chat_file; $self->{access}{peer}{connect} ||= qq("/usr/sbin/chat -v -f $chat_file"); } |