summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-eb.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-05-07 13:35:49 +0200
committerFlorian Westphal <fw@strlen.de>2018-05-07 13:35:51 +0200
commit2211679de2b4b828e7172cb8c392a80b9bf3108a (patch)
treeb7da07b5eedd1a776bf7fefb173d86d95217f4e8 /iptables/xtables-eb.c
parenta77a7d8e0ac98126f60f15ce59a0530c658e9ac6 (diff)
xtables-compat: ebtables: support concurrent option
We don't need extra locking as we don't go though rmw cycle when adding a rule, but accept the option for compatibility with legacy ebtables. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-eb.c')
-rw-r--r--iptables/xtables-eb.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c
index 68a5e7ea..1a95eef4 100644
--- a/iptables/xtables-eb.c
+++ b/iptables/xtables-eb.c
@@ -1236,12 +1236,9 @@ big_iface_length:
* executed in daemon mode */
/*replace->filename = (char *)malloc(strlen(optarg) + 1);
strcpy(replace->filename, optarg);
+ break; */
+ case 13 :
break;
- case 13 : *//* concurrent */
- /*signal(SIGINT, sighandler);
- signal(SIGTERM, sighandler);
- use_lockfd = 1;
- break;*/
case 1 :
if (!strcmp(optarg, "!"))
ebt_check_inverse2(optarg, argc, argv);