From 24ce7465056ae1a8e29405e58849c15860999f39 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 10 Apr 2018 11:15:26 +0200 Subject: 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 --- iptables/xtables-eb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables/xtables-eb.c') 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, -- cgit v1.2.3