From 0d728a957362d7c1f83d15ab6af61c7851c5ca36 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 3 Dec 1997 23:28:02 +0000 Subject: 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). --- usr.sbin/ppp/vars.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'usr.sbin/ppp/vars.h') 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) -- cgit v1.1