netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iptables-nftables PATCH] nft: initialize flags in nft_arp_parse_meta
@ 2013-10-03 14:31 Giuseppe Longo
  2013-10-03 16:06 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Giuseppe Longo @ 2013-10-03 14:31 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Giuseppe Longo

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [iptables-nftables PATCH] nft: initialize flags in nft_arp_parse_meta
  2013-10-03 14:31 [iptables-nftables PATCH] nft: initialize flags in nft_arp_parse_meta Giuseppe Longo
@ 2013-10-03 16:06 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-10-03 16:06 UTC (permalink / raw)
  To: Giuseppe Longo; +Cc: netfilter-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-03 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 14:31 [iptables-nftables PATCH] nft: initialize flags in nft_arp_parse_meta Giuseppe Longo
2013-10-03 16:06 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).