The function missed to clear struct iptables_command_state again after use. Signed-off-by: Phil Sutter <phil@xxxxxx> --- iptables/nft-arp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c index e9a2d9de21560..9a831efd07a28 100644 --- a/iptables/nft-arp.c +++ b/iptables/nft-arp.c @@ -604,6 +604,8 @@ nft_arp_print_rule(struct nft_handle *h, struct nftnl_rule *r, if (!(format & FMT_NONEWLINE)) fputc('\n', stdout); + + nft_clear_iptables_command_state(&cs); } static bool nft_arp_is_same(const void *data_a, -- 2.25.1