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>
This commit is contained in:
Damjan Jovanovic 2024-11-07 18:27:39 +02:00
parent 15853a5fc9
commit 9fb0038cfb

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 { \