summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/vars.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-03-08 13:22:23 +0000
committerache <ache@FreeBSD.org>1996-03-08 13:22:23 +0000
commit53c7b9f85354394ae5d8d9f88d5cffbb319a9e3b (patch)
tree13faf37531eda1356481a2b8bad3cf8a1776d0ae /usr.sbin/ppp/vars.h
parent8d299fcc23c4b89811dcad056e9db5cbaaaa5ed8 (diff)
downloadFreeBSD-src-53c7b9f85354394ae5d8d9f88d5cffbb319a9e3b.zip
FreeBSD-src-53c7b9f85354394ae5d8d9f88d5cffbb319a9e3b.tar.gz
Prevent dial cycling on the last phone from the list, make phone list copy
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 d12257bc..cf28a06 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.4 1995/10/08 14:57:32 amurai Exp $
+ * $Id: vars.h,v 1.5 1996/03/08 09:03:09 ache Exp $
*
* TODO:
*/
@@ -73,6 +73,7 @@ struct pppvars {
char auth_key[50]; /* PAP/CHAP key */
char auth_name[50]; /* PAP/CHAP system name */
char phone_numbers[200]; /* Telephone Numbers */
+ char phone_copy[200]; /* copy for strsep() */
char *next_phone; /* Next phone from the list */
char shostname[MAXHOSTNAMELEN];/* Local short Host Name */
};
@@ -92,6 +93,7 @@ struct pppvars {
#define VarAuthKey pppVars.auth_key
#define VarAuthName pppVars.auth_name
#define VarPhoneList pppVars.phone_numbers
+#define VarPhoneCopy pppVars.phone_copy
#define VarNextPhone pppVars.next_phone
#define VarShortHost pppVars.shostname
#define VarRedialTimeout pppVars.redial_timeout
OpenPOWER on IntegriCloud