diff options
author | 2003-09-26 14:48:19 +0000 | |
---|---|---|
committer | 2003-09-26 14:48:19 +0000 | |
commit | 4bb8a07d288717c0fbe61a3a9a6cf6fb4f3190fc (patch) | |
tree | 46ce2810cc12596ef41b63f0fdb2ce079fedc514 /lib/libc | |
parent | File args are optional. Document strings and \<newline><whitespace> in (diff) | |
download | wireguard-openbsd-4bb8a07d288717c0fbe61a3a9a6cf6fb4f3190fc.tar.xz wireguard-openbsd-4bb8a07d288717c0fbe61a3a9a6cf6fb4f3190fc.zip |
Move statistics counters from individual pf_test_<proto>() and
pf_test_state_<proto>() to pf_test() and pf_test6(). Reduce
code redundancy, and fix the following bugs:
- ICMP packets were not being accounted for correctly (missing
statistics code in pf_test_state_icmp()
- Some packets were not being counted in the loginterface statistics
NOTE: Under some situations with route-to, packets may get counted
once on the original interface, and once on the pf-routed interface.
This can be dealt with by rules which specify the each interface
explicitly.
ok cedric@, henning@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions