diff options
author | 1999-01-08 17:26:45 +0000 | |
---|---|---|
committer | 1999-01-08 17:26:45 +0000 | |
commit | e9cf9673bb0c28e5091ab42d13b8fc11721e8ae1 (patch) | |
tree | 0cdd8621c39ba1eb08250d6ee8dc473ccf149a29 | |
parent | rsync (diff) | |
download | wireguard-openbsd-e9cf9673bb0c28e5091ab42d13b8fc11721e8ae1.tar.xz wireguard-openbsd-e9cf9673bb0c28e5091ab42d13b8fc11721e8ae1.zip |
Don't use the next phone number after the ``|'' if the
dial & login are successful.
Submitted by: Toshiomi Moriki <Toshiomi.Moriki@ma1.seikyou.ne.jp>
-rw-r--r-- | usr.sbin/ppp/ppp/datalink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/datalink.c b/usr.sbin/ppp/ppp/datalink.c index 03d1be2f1c8..17be3a4f855 100644 --- a/usr.sbin/ppp/ppp/datalink.c +++ b/usr.sbin/ppp/ppp/datalink.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: datalink.c,v 1.4 1998/12/15 19:16:30 brian Exp $ + * $Id: datalink.c,v 1.5 1999/01/08 17:26:45 brian Exp $ */ #include <sys/types.h> @@ -303,6 +303,7 @@ datalink_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, chat_Init(&dl->chat, dl->physical, dl->cfg.script.login, 0, NULL); return datalink_UpdateSet(d, r, w, e, n); case DATALINK_LOGIN: + dl->phone.alt = NULL; datalink_LoginDone(dl); break; } |