svn commit: r241349 - head/sys/netinet6
Andriy Gapon
avg at FreeBSD.org
Mon Oct 8 13:45:40 UTC 2012
Author: avg
Date: Mon Oct 8 13:45:40 2012
New Revision: 241349
URL: http://svn.freebsd.org/changeset/base/241349
Log:
ip6_ipsec_output: fix a typo in r241344
Acting as a remote drone of glebius.
Modified:
head/sys/netinet6/ip6_ipsec.c
Modified: head/sys/netinet6/ip6_ipsec.c
==============================================================================
--- head/sys/netinet6/ip6_ipsec.c Mon Oct 8 13:14:00 2012 (r241348)
+++ head/sys/netinet6/ip6_ipsec.c Mon Oct 8 13:45:40 2012 (r241349)
@@ -300,7 +300,7 @@ ip6_ipsec_output(struct mbuf **m, struct
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);
More information about the svn-src-all
mailing list