diff options
author | brian <brian@FreeBSD.org> | 1998-08-07 18:42:51 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-08-07 18:42:51 +0000 |
commit | f9ee8808e7fd6798eb442188b9b4b8e23c461f07 (patch) | |
tree | 4a1f01689ab26830c419f0100830cd94b3e03a62 /usr.sbin/ppp/ccp.c | |
parent | da1fbd5e2562a9182735d47266f718c37ce51225 (diff) | |
download | FreeBSD-src-f9ee8808e7fd6798eb442188b9b4b8e23c461f07.zip FreeBSD-src-f9ee8808e7fd6798eb442188b9b4b8e23c461f07.tar.gz |
o Support callback types NONE, E.164, AUTH and CBCP.
(see the new ``set callback'' and ``set cbcp'' commands)
o Add a ``cbcp'' log level and mbuf type.
o Don't dump core when \T is given in ``set login'' or
``set hangup''.
o Allow ``*'' and blanks as placeholders in ppp.secret and
allow a fifth field for specifying auth/cbcp dialback
parameters.
o Remove a few extraneous #includes
o Define the default number of REQs (restart counter) in defs.h
rather than hardcoding ``5'' all over the place.
o Fix a few man page inconsistencies.
Diffstat (limited to 'usr.sbin/ppp/ccp.c')
-rw-r--r-- | usr.sbin/ppp/ccp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c index 9141d77..dc33e77 100644 --- a/usr.sbin/ppp/ccp.c +++ b/usr.sbin/ppp/ccp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ccp.c,v 1.36 1998/06/27 23:48:40 brian Exp $ + * $Id: ccp.c,v 1.37 1998/06/30 23:04:10 brian Exp $ * * TODO: * o Support other compression protocols @@ -30,7 +30,6 @@ #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <termios.h> #include "defs.h" @@ -213,7 +212,7 @@ CcpInitRestartCounter(struct fsm *fp) struct ccp *ccp = fsm2ccp(fp); fp->FsmTimer.load = ccp->cfg.fsmretry * SECTICKS; - fp->restart = 5; + fp->restart = DEF_REQs; } static void |