summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-eb.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-04-10 11:15:26 +0200
committerFlorian Westphal <fw@strlen.de>2018-05-21 00:01:59 +0200
commit24ce7465056ae1a8e29405e58849c15860999f39 (patch)
tree2ffee1ec62d0f8c4322fd1ced3923ebd4d3ff78e /iptables/xtables-eb.c
parent84c04e36eab024efa7c396ee370bf053c89af895 (diff)
ebtables-compat: add redirect match extension
No translation. The kernel match will alter packet type (meta set pkttype), but also replace dst mac with the bridges' mac address, however nft currently doesn't allow to retrieve this at runtime. So just add this without the xlate part for now. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-eb.c')
-rw-r--r--iptables/xtables-eb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c
index a72c9073..1230125f 100644
--- a/iptables/xtables-eb.c
+++ b/iptables/xtables-eb.c
@@ -678,6 +678,7 @@ void ebt_load_match_extensions(void)
ebt_load_target("mark");
ebt_load_target("dnat");
ebt_load_target("snat");
+ ebt_load_target("redirect");
}
void ebt_add_match(struct xtables_match *m,