From bdc668637bc1e71020db4ec83d116821ef07d183 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Tue, 3 Mar 2015 19:48:13 +0100 Subject: ebtables-compat: support nflog extension Let's give support for the nflog extension (a watcher). Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- iptables/nft-bridge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iptables/nft-bridge.c') diff --git a/iptables/nft-bridge.c b/iptables/nft-bridge.c index e3ab667f..c4f5db6d 100644 --- a/iptables/nft-bridge.c +++ b/iptables/nft-bridge.c @@ -349,7 +349,8 @@ static void nft_bridge_parse_target(struct xtables_target *t, void *data) struct ebtables_command_state *cs = data; /* harcoded names :-( */ - if (strcmp(t->name, "log") == 0) { + if (strcmp(t->name, "log") == 0 || + strcmp(t->name, "nflog") == 0) { parse_watcher(t, &cs->match_list, false); return; } -- cgit v1.2.3