mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
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:
parent
15853a5fc9
commit
9fb0038cfb
@ -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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user