diff options
author | brian <brian@FreeBSD.org> | 1997-12-03 23:28:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-03 23:28:02 +0000 |
commit | 0d728a957362d7c1f83d15ab6af61c7851c5ca36 (patch) | |
tree | cc9f8897259fb11a5c2086f2005379c4d4aca7f8 /usr.sbin/ppp/ccp.h | |
parent | 4060d586346e71874cc8ce0771450b84d88cea41 (diff) | |
download | FreeBSD-src-0d728a957362d7c1f83d15ab6af61c7851c5ca36.zip FreeBSD-src-0d728a957362d7c1f83d15ab6af61c7851c5ca36.tar.gz |
Fix the CCP Type field value for DEFLATE.
(I *really* meant to do this *before* committing the
deflate changes in the first place - oops).
Pppd is horribly broken in this respect - refer to the
ppp man page for details. Ppp *WON'T* negotiate deflate
with pppd by default - you must ``enable'' and ``accept''
``pppd-deflate'' in your config.
While I'm in there, update the cftypes in ccp.c so that
we recognise some more protocols (we don't actually do
anything with them - just send a REJ).
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r-- | usr.sbin/ppp/ccp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h index a9e7e8f..e6ff2c5 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.9 1997/11/22 03:37:25 brian Exp $ + * $Id: ccp.h,v 1.10 1997/12/03 10:23:45 brian Exp $ * * TODO: */ @@ -32,7 +32,8 @@ #define TY_GAND 19 /* Gandalf FZA */ #define TY_V42BIS 20 /* V.42bis compression */ #define TY_BSD 21 /* BSD LZW Compress */ -#define TY_DEFLATE 24 /* Deflate (gzip) */ +#define TY_PPPD_DEFLATE 24 /* Deflate (gzip) - (mis) numbered by pppd */ +#define TY_DEFLATE 26 /* Deflate (gzip) - rfc 1979 */ struct ccpstate { u_long his_proto; /* peer's compression protocol */ |