commit | 6454d7dc89f83920cd08606fdff43358c7e64a53 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue May 08 10:15:11 2018 +0200 |
committer | Florian Westphal <fw@strlen.de> | Thu May 10 02:31:05 2018 +0200 |
tree | 33294b8d8675aaa706fb12842af294408360bbdf | |
parent | 07f4ca96816886635acfb9478b2d04929938eb78 [diff] |
ebtables-translate: suppress redundant protocols kernel would reject ip, ip6 etc. without -p ip, -p ip6. So add it. On reverse, search the match list to decide if -p has to be translated or not. Also, icmp and icmpv6 also imply l3 protocol, so no need to translate that either. Signed-off-by: Florian Westphal <fw@strlen.de>