[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: Tue, 10 Feb 2026 09:38:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291763 --- Comment #6 from Kristof Provost <kp@freebsd.org> --- (In reply to eborisch+FreeBSD from comment #5) 15 still has the bug where the pcounters array is too big, but that's been fixed in main. Other than a little wasted memory this does not matter. I also don't understand why you think pf_getstatus() demonstrates different, because it clearly treats the array as a 2 * 2 * 2 as well. Note also that pf_getstatus() implements the nvlist based method for retrieving these counters, which is not what pfctl uses in 15. It uses the netlink interface instead. It's also interesting to look at pfi_update_status(), where pcounters is populated, which also treats it as a 2 * 2 * 2 array. -- You are receiving this mail because: You are the assignee for the bug.