[Bug 214832] if_pflog subrulenr incorrectly set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 14 21:30:17 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214832

--- Comment #6 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kp
Date: Wed Dec 14 21:29:12 UTC 2016
New revision: 310093
URL: https://svnweb.freebsd.org/changeset/base/310093

Log:
  MFC r309563: pflog: Correctly initialise subrulenr

  subrulenr is considered unset if it's set to -1, not if it's set to 1.
  See contrib/tcpdump/print-pflog.c pflog_print() for a user.

  This caused incorrect pflog output (tcpdump -n -e -ttt -i pflog0):
    rule 0..16777216(match)
  instead of the correct output of
    rule 0/0(match)

  PR:           214832
  Submitted by: andywhite at gmail.com

Changes:
_U  stable/11/
  stable/11/sys/netpfil/pf/if_pflog.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list