diff options
author | ache <ache@FreeBSD.org> | 1996-03-08 13:22:23 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-03-08 13:22:23 +0000 |
commit | 53c7b9f85354394ae5d8d9f88d5cffbb319a9e3b (patch) | |
tree | 13faf37531eda1356481a2b8bad3cf8a1776d0ae /usr.sbin/ppp/vars.h | |
parent | 8d299fcc23c4b89811dcad056e9db5cbaaaa5ed8 (diff) | |
download | FreeBSD-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.h | 4 |
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 |