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/vars.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/vars.h')
-rw-r--r-- | usr.sbin/ppp/vars.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/usr.sbin/ppp/vars.h b/usr.sbin/ppp/vars.h index 5f6cf88..b5bc7ca 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.35 1997/11/22 03:37:54 brian Exp $ + * $Id: vars.h,v 1.36 1997/12/03 10:23:54 brian Exp $ * * TODO: */ @@ -37,16 +37,17 @@ struct confdesc { #define ConfDeflate 2 #define ConfLqr 3 #define ConfPap 4 -#define ConfPred1 5 -#define ConfProtocomp 6 -#define ConfVjcomp 7 - -#define ConfMSExt 8 -#define ConfPasswdAuth 9 -#define ConfProxy 10 -#define ConfThroughput 11 -#define ConfUtmp 12 -#define MAXCONFS 13 +#define ConfPppdDeflate 5 +#define ConfPred1 6 +#define ConfProtocomp 7 +#define ConfVjcomp 8 + +#define ConfMSExt 9 +#define ConfPasswdAuth 10 +#define ConfProxy 11 +#define ConfThroughput 12 +#define ConfUtmp 13 +#define MAXCONFS 14 #define Enabled(x) (pppConfs[x].myside & CONF_ENABLE) #define Acceptable(x) (pppConfs[x].hisside & CONF_ACCEPT) |