]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libebt_redirect: Fix target translation
authorPhil Sutter <phil@nwl.cc>
Tue, 31 Jan 2023 21:28:24 +0000 (22:28 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 17 Feb 2023 17:18:48 +0000 (18:18 +0100)
commitbb6b243c481f90f7dc4a0bd89187ee2bb823f1f6
tree7b175dc2537fcbab332a3852e2d9cd11614e2a56
parent7e63a66e3f02e127895cfc82415219241e3ff6b3
extensions: libebt_redirect: Fix target translation

While EBT_ACCEPT is the default verdict for ebtables targets, omitting
it from translation implicitly converts it into 'continue'. Omit the
non-default EBT_CONTINUE instead.

Fixes: 24ce7465056ae ("ebtables-compat: add redirect match extension")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libebt_redirect.c
extensions/libebt_redirect.txlate [new file with mode: 0644]