diff options
author | avg <avg@FreeBSD.org> | 2012-10-08 13:45:40 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2012-10-08 13:45:40 +0000 |
commit | a1635c34756407f184e936891e39a64fc98a0d0f (patch) | |
tree | 843311e336198d6f004a0f20bd20d009b169be49 /sys/netinet6/ip6_ipsec.c | |
parent | fa86398618f7e853631b68c45fb2c76506a04fde (diff) | |
download | FreeBSD-src-a1635c34756407f184e936891e39a64fc98a0d0f.zip FreeBSD-src-a1635c34756407f184e936891e39a64fc98a0d0f.tar.gz |
ip6_ipsec_output: fix a typo in r241344
Acting as a remote drone of glebius.
Diffstat (limited to 'sys/netinet6/ip6_ipsec.c')
-rw-r--r-- | sys/netinet6/ip6_ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_ipsec.c b/sys/netinet6/ip6_ipsec.c index 5d214dea..21aafe1 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); |