Author: ae
Date: Tue Mar 31 14:41:29 2015
New Revision: 280910
URL: https://svnweb.freebsd.org/changeset/base/280910

Log:
  The offset variable has been cleared all bits except IP6F_OFF_MASK.
  Use ip6f_mf variable instead of checking its bits.

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

Modified: head/sys/netpfil/ipfw/ip_fw_log.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_log.c   Tue Mar 31 13:37:32 2015        
(r280909)
+++ head/sys/netpfil/ipfw/ip_fw_log.c   Tue Mar 31 14:41:29 2015        
(r280910)
@@ -525,7 +525,7 @@ ipfw_log(struct ip_fw_chain *chain, stru
 
 #ifdef INET6
                if (IS_IP6_FLOW_ID(&(args->f_id))) {
-                       if (offset & (IP6F_OFF_MASK | IP6F_MORE_FRAG))
+                       if (offset || ip6f_mf)
                                snprintf(SNPARGS(fragment, 0),
                                    " (frag %08x:%d@%d%s)",
                                    args->f_id.extra,
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to