diff options
author | brian <brian@FreeBSD.org> | 1997-04-14 23:48:20 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-04-14 23:48:20 +0000 |
commit | aebb5d896e369a2c36a4602db4912e3242a873cb (patch) | |
tree | 1368af077c877d79f95a7b9f976e3af37d0df247 /usr.sbin/ppp/vars.h | |
parent | 387d65afaacec6f13404bfd4fd8e0f0d8ca76eef (diff) | |
download | FreeBSD-src-aebb5d896e369a2c36a4602db4912e3242a873cb.zip FreeBSD-src-aebb5d896e369a2c36a4602db4912e3242a873cb.tar.gz |
Make the next number redial ability configurable. The
"set redial pause [times]" command becomes
"set redial end-pause[.next-pause] [times]" and next-pause
defaults to 3 seconds. This keeps things backwards
compatable.
Suggested by: ache
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 5041ee9..57c27b9 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$ + * $Id: vars.h,v 1.10 1997/02/22 16:11:02 peter Exp $ * * TODO: */ @@ -63,6 +63,7 @@ struct pppvars { int lqr_timeout; /* LQR timeout value */ int retry_timeout; /* Retry timeout value */ int redial_timeout; /* Redial timeout value */ + int redial_next_timeout; /* Redial next timeout value */ int dial_tries; /* Dial attempts before giving up, 0 == forever */ char modem_dev[20]; /* Name of device */ int open_mode; /* LCP open mode */ @@ -101,6 +102,7 @@ struct pppvars { #define VarNextPhone pppVars.next_phone #define VarShortHost pppVars.shostname #define VarRedialTimeout pppVars.redial_timeout +#define VarRedialNextTimeout pppVars.redial_next_timeout #define VarDialTries pppVars.dial_tries #define DEV_IS_SYNC (VarSpeed == 0) |