From 96180491d51853a4315ba4eeb29a53505b6515e5 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 30 Jul 2013 11:28:45 +0200 Subject: xtables: fix typo in add_entry for the IPv6 case It should pass zero, instead of the 'append' boolean. Signed-off-by: Pablo Neira Ayuso --- iptables/xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables') diff --git a/iptables/xtables.c b/iptables/xtables.c index 7a6509a7..30355466 100644 --- a/iptables/xtables.c +++ b/iptables/xtables.c @@ -442,7 +442,7 @@ add_entry(const char *chain, &d.mask.v6[j], sizeof(struct in6_addr)); if (append) { ret = nft_rule_append(h, chain, table, - cs, append, + cs, 0, verbose); } else { ret = nft_rule_insert(h, chain, table, -- cgit v1.2.3