ipfw: Fix comment typos in ipfw struct dyn_data

The bcnt_fwd and bcnt_rev fields are the byte counters,
while the pcnt_fwd and pcnt_rev fields are the packet counters.
Fix the comments that were swapped around.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Reviewed by: jlduran,imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1517
This commit is contained in:
Damjan Jovanovic 2024-11-07 18:27:39 +02:00 committed by Warner Losh
parent fb91b98580
commit de13eea53e

View File

@ -144,10 +144,10 @@ struct dyn_data {
uint32_t sync; /* synchronization time */
uint32_t expire; /* expire time */
uint64_t pcnt_fwd; /* bytes counter in forward */
uint64_t bcnt_fwd; /* packets counter in forward */
uint64_t pcnt_rev; /* bytes counter in reverse */
uint64_t bcnt_rev; /* packets counter in reverse */
uint64_t pcnt_fwd; /* packets counter in forward */
uint64_t bcnt_fwd; /* bytes counter in forward */
uint64_t pcnt_rev; /* packets counter in reverse */
uint64_t bcnt_rev; /* bytes counter in reverse */
};
#define DPARENT_COUNT_DEC(p) do { \