diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-17 17:25:50 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-06-23 19:00:02 +0200 |
commit | 8f10f33a0998391acbb56bba65e1d350eebda105 (patch) | |
tree | 86b1ea76e10c204a028ede0810a02f033b78b656 /src/numgen.c | |
parent | 3ac932e90b23402b3b18952123fbed97d8d50920 (diff) |
optimize: do not print stateful information
Do not print stateful information such as counters which are likely set
to zero.
Before this patch:
Merging:
packets.conf:10:3-29: ip protocol 4 counter drop
packets.conf:11:3-29: ip protocol 41 counter drop
packets.conf:12:3-29: ip protocol 47 counter drop
into:
ip protocol { 4, 41, 47 } counter packets 0 bytes 0 drop
^^^^^^^^^^^^^^^^^
After:
Merging:
packets.conf:10:3-29: ip protocol 4 counter drop
packets.conf:11:3-29: ip protocol 41 counter drop
packets.conf:12:3-29: ip protocol 47 counter drop
into:
ip protocol { 4, 41, 47 } counter drop
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/numgen.c')
0 files changed, 0 insertions, 0 deletions