Message ID | 1380810699-2872-1-git-send-email-giuseppelng@gmail.com |
---|---|
State | Accepted |
Headers | show |
On Thu, Oct 03, 2013 at 04:31:39PM +0200, Giuseppe Longo wrote: > This small patch initialize the flags in nft_arp_parse_meta, > now the nft_arp_rule_find is working properly. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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,
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@gmail.com> --- iptables/nft-arp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)