diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-23 10:20:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-23 10:20:59 +0000 |
commit | e4dc623262646fd2b5bbd4412e9c6d3369d7aabe (patch) | |
tree | 4d32533bac1d9077fb3dee656ab06473adfa4be6 | |
parent | f7d861d97fa97f41f595fed19236bbbea6ec82b7 (diff) | |
download | drakx-net-e4dc623262646fd2b5bbd4412e9c6d3369d7aabe.tar drakx-net-e4dc623262646fd2b5bbd4412e9c6d3369d7aabe.tar.gz drakx-net-e4dc623262646fd2b5bbd4412e9c6d3369d7aabe.tar.bz2 drakx-net-e4dc623262646fd2b5bbd4412e9c6d3369d7aabe.tar.xz drakx-net-e4dc623262646fd2b5bbd4412e9c6d3369d7aabe.zip |
do not write chat connect line if not needed
-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"); } |