summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-11-28 10:48:14 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-11-28 10:48:14 +0000
commit8a3355695ffa23bba7a2cb69d229a81ba3485bf9 (patch)
treea5b647079bc62dca911a6e7cc03413edd254af2b /sys
parent0d07fe74b73fb1fb36c12aec6d68fefa8ff2c0f2 (diff)
typo in sockopt level name (ipsec6 related)
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/ip6_output.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 0ce39864fdb..226610de342 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.53 2001/11/26 16:50:26 jasoni Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.54 2001/11/28 10:48:13 itojun Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -1661,21 +1661,21 @@ ip6_ctloutput(op, so, level, optname, mp)
#else
m->m_len = sizeof(int);
switch (optname) {
- case IP_AUTH_LEVEL:
+ case IPV6_AUTH_LEVEL:
optval = inp->inp_seclevel[SL_AUTH];
break;
- case IP_ESP_TRANS_LEVEL:
+ case IPV6_ESP_TRANS_LEVEL:
optval =
inp->inp_seclevel[SL_ESP_TRANS];
break;
- case IP_ESP_NETWORK_LEVEL:
+ case IPV6_ESP_NETWORK_LEVEL:
optval =
inp->inp_seclevel[SL_ESP_NETWORK];
break;
- case IP_IPCOMP_LEVEL:
+ case IPV6_IPCOMP_LEVEL:
optval = inp->inp_seclevel[SL_IPCOMP];
break;
}