diff options
author | kp <kp@FreeBSD.org> | 2016-12-14 21:30:35 +0000 |
---|---|---|
committer | kp <kp@FreeBSD.org> | 2016-12-14 21:30:35 +0000 |
commit | 60185485a783f3abc93ffe265af62d50082984b8 (patch) | |
tree | 090049811bf6e55235b1571f8524693e7cc78717 /usr.bin/procstat/procstat_threads.c | |
parent | 30bec4f2685289b3c706fb1e2540c033e31594c3 (diff) | |
download | FreeBSD-src-60185485a783f3abc93ffe265af62d50082984b8.zip FreeBSD-src-60185485a783f3abc93ffe265af62d50082984b8.tar.gz |
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
Diffstat (limited to 'usr.bin/procstat/procstat_threads.c')
0 files changed, 0 insertions, 0 deletions