CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/09/08 12:10:01
Modified files:
sys/net : if_pflog.c pfvar.h
Log message:
When logging a packet to a listener on the pflog0 interface, the
function pflog_bpfcopy() is setting up a packet description with
pf_setup_pdesc(). When pf_setup_pdesc() is droppig a bad packet,
it increments the the pf status counters. This way bad packets
could be accounted multiple times. Now pflog_bpfcopy() passes a
reason pointer NULL to indicate that no accounting should be done.
>From Florian Riehm; OK henning@