diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-08-22 14:18:37 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-08-22 14:18:37 +0000 |
commit | 41f3695b2da487bf9cf075aaa3778aecbd983ca1 (patch) | |
tree | 312a2315f5e787ece3231b20683728dfcbae8b88 /sys/netinet6 | |
parent | c31ac6a5afbf940eae73a23ee5d0b8cffc799b4b (diff) |
IPCOMP policy stuff missed the last time round
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_output.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 60245ef8e8f..939533952b5 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.48 2001/08/22 06:52:01 niklas Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.49 2001/08/22 14:18:36 niklas Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -1637,6 +1637,7 @@ ip6_ctloutput(op, so, level, optname, mp) case IPV6_AUTH_LEVEL: case IPV6_ESP_TRANS_LEVEL: case IPV6_ESP_NETWORK_LEVEL: + case IPV6_IPCOMP_LEVEL: #ifndef IPSEC m->m_len = sizeof(int); *mtod(m, int *) = IPSEC_LEVEL_NONE; @@ -1656,6 +1657,10 @@ ip6_ctloutput(op, so, level, optname, mp) optval = inp->inp_seclevel[SL_ESP_NETWORK]; break; + + case IP_IPCOMP_LEVEL: + optval = inp->inp_seclevel[SL_IPCOMP]; + break; } *mtod(m, int *) = optval; #endif |