Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 21:31:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 214832] if_pflog subrulenr incorrectly set
Message-ID:  <bug-214832-2472-1Gpiwu1tMK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214832-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214832-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214832

--- Comment #7 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kp
Date: Wed Dec 14 21:30:35 UTC 2016
New revision: 310094
URL: https://svnweb.freebsd.org/changeset/base/310094

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@gmail.com

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214832-2472-1Gpiwu1tMK>