summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'iptables')
-rw-r--r--iptables/nft-bridge.c3
-rw-r--r--iptables/xtables-eb.c1
2 files changed, 3 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;
}
diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c
index efbb3cd0..e0e521ae 100644
--- a/iptables/xtables-eb.c
+++ b/iptables/xtables-eb.c
@@ -645,6 +645,7 @@ static void ebt_load_match_extensions(void)
ebt_load_match("mark_m");
ebt_load_watcher("log");
+ ebt_load_watcher("nflog");
}
static void ebt_add_match(struct xtables_match *m,