diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2021-10-07 21:12:21 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-12 01:06:51 +0200 |
commit | f1d26b51fde8f4ff12f5c98ef8b65229a17276e3 (patch) | |
tree | 8dfa3f42d64f993b5ed74bb57ed35e95dc2851e7 /tests/py/inet/synproxy.t.payload | |
parent | b487f4d0e436522acbef938ff4751626406b24c8 (diff) |
rule: fix stateless output after listing sets containing counters
Before outputting counters in set definitions the
`NFT_CTX_OUTPUT_STATELESS` flag was set to suppress output of the
counter state and unconditionally cleared afterwards, regardless of
whether it had been originally set. Record the original set of flags
and restore it.
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994273
Fixes: 6d80e0f15492 ("src: support for counter in set definition")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/synproxy.t.payload')
0 files changed, 0 insertions, 0 deletions