summaryrefslogtreecommitdiffstats
path: root/src/payload.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-05-07 19:54:30 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-02 11:56:20 +0100
commitf0b297aeadd4bcd332fd971ef1276e006999cd21 (patch)
treedcc7ca981807032fc8b9797af8160a4dd2eb9a88 /src/payload.c
parenta8425f1504e17492aef664bd9fe290d82dcfe7b1 (diff)
optimize: do not remove counter in verdict maps
commit 686ab8b6996e154592a5fc16bd1e15e661201b2a upstream. Add counter to set element instead of dropping it: # nft -c -o -f test.nft Merging: test.nft:6:3-50: ip saddr 1.1.1.1 ip daddr 2.2.2.2 counter accept test.nft:7:3-48: ip saddr 1.1.1.2 ip daddr 3.3.3.3 counter drop into: ip daddr . ip saddr vmap { 2.2.2.2 . 1.1.1.1 counter : accept, 3.3.3.3 . 1.1.1.2 counter : drop } Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/payload.c')
0 files changed, 0 insertions, 0 deletions