From bf55a0034d8a4f2eed9a91a49bb1fb51d43906c5 Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Tue, 31 Mar 2015 14:41:29 +0000 Subject: [PATCH] The offset variable has been cleared all bits except IP6F_OFF_MASK. Use ip6f_mf variable instead of checking its bits. --- sys/netpfil/ipfw/ip_fw_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/ipfw/ip_fw_log.c b/sys/netpfil/ipfw/ip_fw_log.c index ef7b35af93ec..e359fd71e297 100644 --- a/sys/netpfil/ipfw/ip_fw_log.c +++ b/sys/netpfil/ipfw/ip_fw_log.c @@ -525,7 +525,7 @@ ipfw_log(struct ip_fw_chain *chain, struct ip_fw *f, u_int hlen, #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,