diff options
author | Phil Sutter <phil@nwl.cc> | 2023-01-26 03:07:33 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-01-31 16:29:26 +0100 |
commit | 3f7da77726d4089237d9c0ed1794892ec001879c (patch) | |
tree | 16353d3e9623a247f2866be437753a31641289e1 | |
parent | ab9af3ecce355725071f207d5e9c3bc108e58158 (diff) |
ebtables-translate: Ignore '-j CONTINUE'
It is default behaviour. Does not hurt here, but reducing diff to
xtables-eb.c can't hurt.
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r-- | iptables/xtables-eb-translate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/iptables/xtables-eb-translate.c b/iptables/xtables-eb-translate.c index 49ae6f64..99347c0c 100644 --- a/iptables/xtables-eb-translate.c +++ b/iptables/xtables-eb-translate.c @@ -355,7 +355,9 @@ print_zero: break; } else if (c == 'j') { ebt_check_option2(&flags, OPT_JUMP); - command_jump(&cs, optarg); + if (strcmp(optarg, "CONTINUE") != 0) { + command_jump(&cs, optarg); + } break; } else if (c == 's') { ebt_check_option2(&flags, OPT_SOURCE); |