diff options
author | Florian Westphal <fw@strlen.de> | 2018-05-07 13:35:49 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-07 13:35:51 +0200 |
commit | 2211679de2b4b828e7172cb8c392a80b9bf3108a (patch) | |
tree | b7da07b5eedd1a776bf7fefb173d86d95217f4e8 /iptables/xtables-eb.c | |
parent | a77a7d8e0ac98126f60f15ce59a0530c658e9ac6 (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.c | 7 |
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); |