summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-compat-multi.c
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2018-02-25 18:14:00 +1100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-02-25 19:49:49 +0100
commit632ace7c2947dbb70f74ea263b86ff68de391622 (patch)
tree2ca15c3c8369cd06fc35024b91fff614117b04ca /iptables/xtables-compat-multi.c
parentd7ccc68e75125ec575786df40012a77441673376 (diff)
xtables-compat-multi.c: Allow symlink of ebtables
This patch allows one to force a subsystem that one does not wish to modify (e.g. libvirt) to use the ebtables compatibility layer. ebtables-compat was already a symlink to xtables-compat-multi but ebtables was a stand-alone program. So one could move it out of the way before making the symlink as below: lrwxrwxrwx 1 root root 20 Feb 24 11:03 ebtables -> xtables-compat-multi -rwxr-xr-x 1 root root 75176 Feb 24 11:03 ebtables.orig With this patch, kernel modules ebtable_filter & ebtables are no longer loaded. Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-compat-multi.c')
-rw-r--r--iptables/xtables-compat-multi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xtables-compat-multi.c b/iptables/xtables-compat-multi.c
index 3e24631c..032911e1 100644
--- a/iptables/xtables-compat-multi.c
+++ b/iptables/xtables-compat-multi.c
@@ -33,6 +33,7 @@ static const struct subcommand multi_subcommands[] = {
{"arptables", xtables_arp_main},
{"arptables-compat", xtables_arp_main},
{"ebtables-compat", xtables_eb_main},
+ {"ebtables", xtables_eb_main},
{NULL},
};