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 (cherry picked from commit 363b57d579bafa8a52cfb5a1dcb98af821b1ecb6) |
||
|---|---|---|
| .. | ||
| libpfctl.c | ||
| libpfctl.h | ||
| Makefile | ||
| Makefile.depend | ||