mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
ip6_ipsec_output: fix a typo in r241344
Acting as a remote drone of glebius.
This commit is contained in:
parent
4262463497
commit
ce8b4f7cb9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241349
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user