1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Catch up with r241245 and do not return packet back in host byte order.

This commit is contained in:
Gleb Smirnoff 2012-10-08 22:58:28 +00:00
parent 4e4458327a
commit 8f35d5f3e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241359

View File

@ -138,11 +138,8 @@ ipfw_check_packet(void *arg, struct mbuf **m0, struct ifnet *ifp, int dir,
if (tag != NULL) {
args.rule = *((struct ipfw_rule_ref *)(tag+1));
m_tag_delete(*m0, tag);
if (args.rule.info & IPFW_ONEPASS) {
if (mtod(*m0, struct ip *)->ip_v == 4)
SET_HOST_IPLEN(mtod(*m0, struct ip *));
if (args.rule.info & IPFW_ONEPASS)
return (0);
}
}
args.m = *m0;