[Bug 291763] pfctl: loginterface packet counts for pass/block swapped; byte counts all 0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Feb 2026 21:40:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291763
--- Comment #12 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=363b57d579bafa8a52cfb5a1dcb98af821b1ecb6
commit 363b57d579bafa8a52cfb5a1dcb98af821b1ecb6
Author: Eric A. Borisch <eborisch@gmail.com>
AuthorDate: 2026-02-12 00:26:26 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-02-12 16:05:16 +0000
libpfctl: Sort order of snl attribute parser
snl atttribute parsers must be sorted by type, so PF_GS_BCOUNTERS
(16) must follow PF_GF_PCOUNTERS (15). Fix ordering and add a call
to SNL_VERIFY_PARSERS.
Without this fix, byte counters reported by 'pfctl -s info' with
a loginterface are always zero.
PR: 291763
MFC after: 1 week
Reviewed by: kp
Signed-off-by: eborisch@gmail.com
lib/libpfctl/libpfctl.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.