summaryrefslogtreecommitdiffstats
path: root/sys/netpfil/ipfw/ip_fw_pfil.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-10-08 22:58:28 +0000
committerglebius <glebius@FreeBSD.org>2012-10-08 22:58:28 +0000
commit64d975866c61ed7ef51c22ef738f5d3742ff30f1 (patch)
tree0523e87781cdff2439b7431f3cc84673409e9fe7 /sys/netpfil/ipfw/ip_fw_pfil.c
parent030748a9b2ab4f198712c4054dd01442858e2d14 (diff)
downloadFreeBSD-src-64d975866c61ed7ef51c22ef738f5d3742ff30f1.zip
FreeBSD-src-64d975866c61ed7ef51c22ef738f5d3742ff30f1.tar.gz
Catch up with r241245 and do not return packet back in host byte order.
Diffstat (limited to 'sys/netpfil/ipfw/ip_fw_pfil.c')
-rw-r--r--sys/netpfil/ipfw/ip_fw_pfil.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_pfil.c b/sys/netpfil/ipfw/ip_fw_pfil.c
index b2494e5..fa86de8 100644
--- a/sys/netpfil/ipfw/ip_fw_pfil.c
+++ b/sys/netpfil/ipfw/ip_fw_pfil.c
@@ -138,11 +138,8 @@ again:
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;
OpenPOWER on IntegriCloud