mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01: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> Reviewed by: jlduran,imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1517
This commit is contained in:
parent
fb91b98580
commit
de13eea53e
@ -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