Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2016 21:52:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 214832] if_pflog subrulenr incorrectly set
Message-ID:  <bug-214832-2472-iPTpnNZFBT@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 #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kp
Date: Mon Dec  5 21:52:11 UTC 2016
New revision: 309563
URL: https://svnweb.freebsd.org/changeset/base/309563

Log:
  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:
  head/sys/netpfil/pf/if_pflog.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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