summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/vars.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-03 23:28:02 +0000
committerbrian <brian@FreeBSD.org>1997-12-03 23:28:02 +0000
commit0d728a957362d7c1f83d15ab6af61c7851c5ca36 (patch)
treecc9f8897259fb11a5c2086f2005379c4d4aca7f8 /usr.sbin/ppp/vars.c
parent4060d586346e71874cc8ce0771450b84d88cea41 (diff)
downloadFreeBSD-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.c')
-rw-r--r--usr.sbin/ppp/vars.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/vars.c b/usr.sbin/ppp/vars.c
index fde9089..a6429a2 100644
--- a/usr.sbin/ppp/vars.c
+++ b/usr.sbin/ppp/vars.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: vars.c,v 1.37 1997/11/22 13:47:02 brian Exp $
+ * $Id: vars.c,v 1.38 1997/12/03 10:23:53 brian Exp $
*
*/
#include <sys/param.h>
@@ -39,7 +39,7 @@
#include "auth.h"
char VarVersion[] = "PPP Version 1.5";
-char VarLocalVersion[] = "$Date: 1997/11/22 13:47:02 $";
+char VarLocalVersion[] = "$Date: 1997/12/03 10:23:53 $";
int Utmp = 0;
int ipInOctets = 0;
int ipOutOctets = 0;
@@ -58,6 +58,7 @@ struct confdesc pppConfs[] = {
{"deflate", CONF_ENABLE, CONF_ACCEPT},
{"lqr", CONF_DISABLE, CONF_ACCEPT},
{"pap", CONF_DISABLE, CONF_ACCEPT},
+ {"pppd-deflate", CONF_DISABLE, CONF_DENY},
{"pred1", CONF_ENABLE, CONF_ACCEPT},
{"protocomp", CONF_ENABLE, CONF_ACCEPT},
{"vjcomp", CONF_ENABLE, CONF_ACCEPT},
OpenPOWER on IntegriCloud