summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/ipsec.48
-rw-r--r--sys/netipsec/xform_ipcomp.c2
2 files changed, 6 insertions, 4 deletions
diff --git a/share/man/man4/ipsec.4 b/share/man/man4/ipsec.4
index 47ccdb1..112fadb 100644
--- a/share/man/man4/ipsec.4
+++ b/share/man/man4/ipsec.4
@@ -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.
diff --git a/sys/netipsec/xform_ipcomp.c b/sys/netipsec/xform_ipcomp.c
index 4d21e38..d528d2a 100644
--- a/sys/netipsec/xform_ipcomp.c
+++ b/sys/netipsec/xform_ipcomp.c
@@ -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);
OpenPOWER on IntegriCloud