summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-23 19:57:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-23 19:57:51 +0000
commit383971453455794b3c815551394c28120c470038 (patch)
tree908419dd11d893922fe9b568f82819701b872b5a /sys/netinet6/ip6_output.c
parent9fe31fae04b30b41593a6aa57aba418ca04d2ece (diff)
Back when some NRL code was merged into KAME to create the *BSD IPV6
stack (factoid: by a bunch of people in my living room), some compatibility #define's were created to shim incompatible inpcb access methods. There was an understanding they would eventually be removed. Since they are error prone, and 1999 is a long time ago, now they die. ok mikeb claudio mpi
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index e24b41ddbf8..5882598f092 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.147 2013/10/21 12:40:39 deraadt Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.148 2013/10/23 19:57:50 deraadt Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -2034,14 +2034,14 @@ ip6_raw_ctloutput(int op, struct socket *so, int level, int optname,
if (optval != icmp6off)
error = EINVAL;
} else
- inp->in6p_cksum = optval;
+ inp->inp_cksum6 = optval;
break;
case PRCO_GETOPT:
if (so->so_proto->pr_protocol == IPPROTO_ICMPV6)
optval = icmp6off;
else
- optval = inp->in6p_cksum;
+ optval = inp->inp_cksum6;
*mp = m = m_get(M_WAIT, MT_SOOPTS);
m->m_len = sizeof(int);