diff options
author | Florian Westphal <fw@strlen.de> | 2018-04-10 10:55:30 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-21 00:01:54 +0200 |
commit | 84c04e36eab024efa7c396ee370bf053c89af895 (patch) | |
tree | dfdf24bffa2cf295eefbf664ca4aafec171440be /iptables/xtables-eb.c | |
parent | 14ec9984811a1c5d39010ebbd3ff171fd8f51652 (diff) |
ebtables-compat: add nat match extensions
adds snat and dnat.
Translation for snat isn't complete, the --snat-arp switch isn't supported so far.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-eb.c')
-rw-r--r-- | iptables/xtables-eb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index 8708bea3..a72c9073 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -676,6 +676,8 @@ void ebt_load_match_extensions(void) ebt_load_watcher("nflog"); ebt_load_target("mark"); + ebt_load_target("dnat"); + ebt_load_target("snat"); } void ebt_add_match(struct xtables_match *m, |