From 217f021925872dcbce4187408762845ae3f6f182 Mon Sep 17 00:00:00 2001 From: Giuseppe Longo Date: Mon, 16 Sep 2013 10:58:16 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- iptables/nft-shared.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables/nft-shared.h') diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index 375c714f..80f2bc6f 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -38,8 +38,8 @@ struct xtables_args; struct nft_family_ops { int (*add)(struct nft_rule *r, void *data); - bool (*is_same)(const struct iptables_command_state *a, - const struct iptables_command_state *b); + bool (*is_same)(const void *data_a, + const void *data_b); void (*print_payload)(struct nft_rule_expr *e, struct nft_rule_expr_iter *iter); void (*parse_meta)(struct nft_rule_expr *e, uint8_t key, -- cgit v1.2.3