diff options
author | brian <brian@FreeBSD.org> | 1998-01-04 20:25:41 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-01-04 20:25:41 +0000 |
commit | 97d6e021bf076ca180eefdf6dbbb7d2c42b1a50c (patch) | |
tree | 6491af06ce3b51abac087d0951abc11cfcfc1f9c /usr.sbin/ppp/ccp.h | |
parent | 656b2e5431f28568380a2cfee11c1da47900076b (diff) | |
download | FreeBSD-src-97d6e021bf076ca180eefdf6dbbb7d2c42b1a50c.zip FreeBSD-src-97d6e021bf076ca180eefdf6dbbb7d2c42b1a50c.tar.gz |
Initialize CcpInfo protocols to -1 (none, not OUI).
Don't Call Term() for an algorithm that hasn't been Init()d.
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r-- | usr.sbin/ppp/ccp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h index e6ff2c5..840e2da 100644 --- a/usr.sbin/ppp/ccp.h +++ b/usr.sbin/ppp/ccp.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ccp.h,v 1.10 1997/12/03 10:23:45 brian Exp $ + * $Id: ccp.h,v 1.11 1997/12/03 23:27:55 brian Exp $ * * TODO: */ @@ -42,6 +42,9 @@ struct ccpstate { u_long his_reject; /* Request codes rejected by peer */ u_long my_reject; /* Request codes I have rejected */ + int out_init; /* Init called for out algorithm */ + int in_init; /* Init called for in algorithm */ + u_long uncompout, compout; u_long uncompin, compin; }; |