From a1635c34756407f184e936891e39a64fc98a0d0f Mon Sep 17 00:00:00 2001 From: avg Date: Mon, 8 Oct 2012 13:45:40 +0000 Subject: [PATCH] ip6_ipsec_output: fix a typo in r241344 Acting as a remote drone of glebius. --- sys/netinet6/ip6_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet6/ip6_ipsec.c b/sys/netinet6/ip6_ipsec.c index 5d214dea0a13..21aafe19b9ec 100644 --- a/sys/netinet6/ip6_ipsec.c +++ b/sys/netinet6/ip6_ipsec.c @@ -300,7 +300,7 @@ ip6_ipsec_output(struct mbuf **m, struct inpcb *inp, int *flags, int *error, ipseclog((LOG_DEBUG, "%s: we do not support IPv4 over IPv6", __func__)); /* XXX: in_delayed_cksum() expects net byte order */ - ip = mtod(m, struct ip *); + ip = mtod(*m, struct ip *); ip->ip_len = htons(ip->ip_len); in_delayed_cksum(*m); ip->ip_len = ntohs(ip->ip_len);