Author: glebius
Date: Mon Oct  8 22:58:28 2012
New Revision: 241359
URL: http://svn.freebsd.org/changeset/base/241359

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

Modified:
  head/sys/netpfil/ipfw/ip_fw_pfil.c

Modified: head/sys/netpfil/ipfw/ip_fw_pfil.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_pfil.c  Mon Oct  8 22:38:15 2012        
(r241358)
+++ head/sys/netpfil/ipfw/ip_fw_pfil.c  Mon Oct  8 22:58:28 2012        
(r241359)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to