summaryrefslogtreecommitdiffstats
path: root/iptables/nft-bridge.c
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2015-03-03 19:48:13 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-03-04 23:15:43 +0100
commitbdc668637bc1e71020db4ec83d116821ef07d183 (patch)
tree2d235986b3edbc2a6ba91b757edfa04912214d47 /iptables/nft-bridge.c
parent379bd7bb9284f2692cd08accd7d2dbe2fb85b985 (diff)
ebtables-compat: support nflog extension
Let's give support for the nflog extension (a watcher). Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft-bridge.c')
-rw-r--r--iptables/nft-bridge.c3
1 files changed, 2 insertions, 1 deletions
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;
}