diff --git a/iptables/nft-cache.c b/iptables/nft-cache.c index 07265b7..bc6e7f7 100644 --- a/iptables/nft-cache.c +++ b/iptables/nft-cache.c @@ -629,6 +629,7 @@ void nft_rebuild_cache(struct nft_handle *h) if (h->cache_level) __nft_flush_cache(h); + h->nft_genid = 0; h->cache_level = NFT_CL_NONE; __nft_build_cache(h, level, NULL, NULL, NULL); }