diff options
author | Phil Sutter <phil@nwl.cc> | 2024-09-26 18:56:31 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-27 13:55:24 +0200 |
commit | 8a89015644513ef69193a037eb966f2d55fe385a (patch) | |
tree | d1c4f6d1e29efdc3590c5e8e90908c3bde918768 /net/ipv4 | |
parent | 76f1ed087b562a469f2153076f179854b749c09a (diff) |
selftests: netfilter: Fix nft_audit.sh for newer nft binaries
As a side-effect of nftables' commit dbff26bfba833 ("cache: consolidate
reset command"), audit logs changed when more objects were reset than
fit into a single netlink message.
Since the objects' distribution in netlink messages is not relevant,
implement a summarizing function which combines repeated audit logs into
a single one with summed up 'entries=' value.
Fixes: 203bb9d39866 ("selftests: netfilter: Extend nft_audit.sh")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions