From 8a3355695ffa23bba7a2cb69d229a81ba3485bf9 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Wed, 28 Nov 2001 10:48:14 +0000 Subject: typo in sockopt level name (ipsec6 related) --- sys/netinet6/ip6_output.c | 10 +++++----- 1 file 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; } -- cgit v1.2.3