MFC r199947, 199950:

Enable IPcomp by default.

PR:	kern/123587
This commit is contained in:
bz 2009-12-05 19:25:29 +00:00
parent 1f7b1b46a3
commit 533f1fdf82
2 changed files with 6 additions and 4 deletions

View File

@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd May 23, 2009
.Dd November 29, 2009
.Dt IPSEC 4
.Os
.Sh NAME
@ -215,7 +215,7 @@ To selectively enable/disable protocols, use
.It Sy "Name Default"
.It "net.inet.esp.esp_enable On"
.It "net.inet.ah.ah_enable On"
.It "net.inet.ipcomp.ipcomp_enable Off"
.It "net.inet.ipcomp.ipcomp_enable On"
.El
.Pp
In addition the following variables are accessible via
@ -408,6 +408,8 @@ size may alleviate this problem.
.Pp
The
.Tn IPcomp
protocol support is currently broken.
protocol may occasionally error because of
.Xr zlib 3
problems.
.Pp
This documentation needs more review.

View File

@ -68,7 +68,7 @@
#include <opencrypto/deflate.h>
#include <opencrypto/xform.h>
VNET_DEFINE(int, ipcomp_enable) = 0;
VNET_DEFINE(int, ipcomp_enable) = 1;
VNET_DEFINE(struct ipcompstat, ipcompstat);
SYSCTL_DECL(_net_inet_ipcomp);