summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/vars.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-08-17 20:38:45 +0000
committerbrian <brian@FreeBSD.org>1997-08-17 20:38:45 +0000
commit6f340c20e5d94d59afcee4b5d8fbc86d25acd2dd (patch)
tree62de69ed379cc36f733baf0513da2822d43d6bc4 /usr.sbin/ppp/vars.h
parent7708b374b9944a9913eb0e8d0fa451751bdaa232 (diff)
downloadFreeBSD-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/vars.h')
-rw-r--r--usr.sbin/ppp/vars.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/vars.h b/usr.sbin/ppp/vars.h
index c80bf7f..486f1fa 100644
--- a/usr.sbin/ppp/vars.h
+++ b/usr.sbin/ppp/vars.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: vars.h,v 1.19 1997/06/11 03:57:51 brian Exp $
+ * $Id: vars.h,v 1.20 1997/07/14 01:41:35 brian Exp $
*
* TODO:
*/
@@ -84,6 +84,7 @@ struct pppvars {
char phone_numbers[200]; /* Telephone Numbers */
char phone_copy[200]; /* copy for strsep() */
char *next_phone; /* Next phone from the list */
+ char *alt_phone; /* Next phone from the list */
char shostname[MAXHOSTNAMELEN];/* Local short Host Name */
char hangup_script[200]; /* Hangup script before modem is closed */
struct aliasHandlers handler; /* Alias function pointers */
@@ -110,6 +111,7 @@ struct pppvars {
#define VarPhoneList pppVars.phone_numbers
#define VarPhoneCopy pppVars.phone_copy
#define VarNextPhone pppVars.next_phone
+#define VarAltPhone pppVars.alt_phone
#define VarShortHost pppVars.shostname
#define VarReconnectTimer pppVars.reconnect_timer
#define VarReconnectTries pppVars.reconnect_tries
OpenPOWER on IntegriCloud