This small patch initialize the flags in nft_arp_parse_meta, now the nft_arp_rule_find is working properly. Signed-off-by: Giuseppe Longo <giuseppelng@xxxxxxxxx> --- iptables/nft-arp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c index cf8fe28..3d753c2 100644 --- a/iptables/nft-arp.c +++ b/iptables/nft-arp.c @@ -267,7 +267,7 @@ static void nft_arp_parse_meta(struct nft_rule_expr *e, uint8_t key, void *data) { struct arpt_entry *fw = data; - uint8_t flags; + uint8_t flags = 0; parse_meta(e, key, fw->arp.iniface, fw->arp.iniface_mask, fw->arp.outiface, fw->arp.outiface_mask, -- 1.7.8.6 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html