summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Jacques Bernard-Gundol <jjbg@cvs.openbsd.org>2001-07-05 16:49:46 +0000
committerJean-Jacques Bernard-Gundol <jjbg@cvs.openbsd.org>2001-07-05 16:49:46 +0000
commit730bf34501e3ee4b8f9d907595a2359fa6b7e325 (patch)
treec18b11df60cb12d6621df07504df90d46df44c89
parentd6dce2ee07499fccdf3d7d3091953680a369d015 (diff)
IPComp support. angelos@ ok.
-rw-r--r--sys/netinet6/in6_proto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index a6b8a584f71..e243489d7fb 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_proto.c,v 1.29 2001/06/09 06:43:38 angelos Exp $ */
+/* $OpenBSD: in6_proto.c,v 1.30 2001/07/05 16:49:45 jjbg Exp $ */
/* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */
/*
@@ -175,14 +175,14 @@ struct ip6protosw inet6sw[] = {
0, 0, 0, 0,
esp_sysctl,
},
-#if 0
+#ifdef IPCOMP
{ SOCK_RAW, &inet6domain, IPPROTO_IPCOMP, PR_ATOMIC|PR_ADDR,
ipcomp6_input, 0, 0, 0,
0,
0, 0, 0, 0,
- ipsec6_sysctl,
+ ipcomp_sysctl,
},
-#endif /* 0 */
+#endif /* IPCOMP */
#endif /* IPSEC */
#if NGIF > 0
{ SOCK_RAW, &inet6domain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR,