The offset variable has been cleared all bits except IP6F_OFF_MASK.

Use ip6f_mf variable instead of checking its bits.
This commit is contained in:
Andrey V. Elsukov 2015-03-31 14:41:29 +00:00
parent 640cba97d8
commit bf55a0034d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280910

View File

@ -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,