]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libebt_redirect: Fix xlate return code
authorPhil Sutter <phil@nwl.cc>
Wed, 16 Nov 2022 12:03:05 +0000 (13:03 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 24 Nov 2022 09:24:06 +0000 (10:24 +0100)
commit8543b6f2f4a3a15a5ece7dd1b320b477ce36a8d5
tree7179f2299297f0d4ac6ba677312c91ff7627017e
parentbc5f9d05dbf7d0a6c5256c63c492273c93ad3434
extensions: libebt_redirect: Fix xlate return code

The callback is supposed to return 1 on success, not 0.

Fixes: 24ce7465056ae ("ebtables-compat: add redirect match extension")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libebt_redirect.c