diff options
author | brian <brian@FreeBSD.org> | 1997-08-17 20:38:45 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-17 20:38:45 +0000 |
commit | 6f340c20e5d94d59afcee4b5d8fbc86d25acd2dd (patch) | |
tree | 62de69ed379cc36f733baf0513da2822d43d6bc4 /usr.sbin/ppp/modem.c | |
parent | 7708b374b9944a9913eb0e8d0fa451751bdaa232 (diff) | |
download | FreeBSD-src-6f340c20e5d94d59afcee4b5d8fbc86d25acd2dd.zip FreeBSD-src-6f340c20e5d94d59afcee4b5d8fbc86d25acd2dd.tar.gz |
Allow specification of fallback phone numbers to
be used only if the dial script fails.
PR: 4262
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r-- | usr.sbin/ppp/modem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c index bee6ef3..0a08c8c 100644 --- a/usr.sbin/ppp/modem.c +++ b/usr.sbin/ppp/modem.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: modem.c,v 1.45 1997/07/14 01:41:29 brian Exp $ + * $Id: modem.c,v 1.46 1997/07/24 02:42:34 brian Exp $ * * TODO: */ @@ -726,6 +726,7 @@ DialModem() strncpy(ScriptBuffer, VarDialScript,sizeof(ScriptBuffer)-1); ScriptBuffer[sizeof(ScriptBuffer)-1] = '\0'; if ((excode = DoChat(ScriptBuffer)) > 0) { + VarAltPhone = NULL; if (VarTerm) fprintf(VarTerm, "dial OK!\n"); strncpy(ScriptBuffer, VarLoginScript,sizeof(ScriptBuffer)-1); |