CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/11/09 04:54:23

Modified files:
        sys/net        : pf.c 

Log message:
pf(4) fix traffic statistics for state created by af-to rules

The af-to states are always matched by inbound packets (PF_IN), therefore when
updating statistics the in vs. out (or request vs. reply) direction must take
address families (af) in the matched packet and in wire state key attached
to matching state into account. This allows pf(4) to choose to bump
either counters for inbound or outbound side.

OK bluhm@

Reply via email to