From 3f7da77726d4089237d9c0ed1794892ec001879c Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 26 Jan 2023 03:07:33 +0100 Subject: 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 --- iptables/xtables-eb-translate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3