Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 14:41:30 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r280910 - head/sys/netpfil/ipfw
Message-ID:  <201503311441.t2VEfUA1028421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503311441.t2VEfUA1028421>