diff options
author | Giuseppe Longo <giuseppelng@gmail.com> | 2013-09-16 10:58:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-12-30 23:50:46 +0100 |
commit | 217f021925872dcbce4187408762845ae3f6f182 (patch) | |
tree | 0f89a883da3b034494f2dac6bbce964011ce5bdc /iptables/xtables-arp.c | |
parent | 4c4bcbcd2523da740ed02021e51cb20b14fae153 (diff) |
xtables: nft-arp: implements is_same op for ARP family
The following patch implements the is_same operation
for ARP family needed for searching arp rule.
Signed-off-by: Giuseppe Longo <giuseppelng@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-arp.c')
-rw-r--r-- | iptables/xtables-arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c index 68687c0e..4b3b0461 100644 --- a/iptables/xtables-arp.c +++ b/iptables/xtables-arp.c @@ -1402,7 +1402,7 @@ int do_commandarp(struct nft_handle *h, int argc, char *argv[], char **table) handle);*/ break; case CMD_INSERT: - ret = append_entry(h, chain, *table, e, rulenum, + ret = append_entry(h, chain, *table, e, rulenum - 1, nsaddrs, saddrs, ndaddrs, daddrs, options&OPT_VERBOSE, false); break; |