]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libxt_NFLOG: fix `--nflog-prefix` Python test-cases
authorJeremy Sowden <jeremy@azazel.net>
Fri, 1 Oct 2021 17:41:39 +0000 (18:41 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 18 Jan 2022 12:22:56 +0000 (13:22 +0100)
commitf0d02998883d2efcb316cd6f524e2f7b3c4d055b
tree34c89c332fbfaab28c645938fb63164eefe81477
parentf9df828a46c7446c8e894be7ae45a2ac97b4a278
extensions: libxt_NFLOG: fix `--nflog-prefix` Python test-cases

The `iptables-save` includes an extra space between `--nflog-prefix` and
the prefix.

The maximum length of prefixes includes the trailing NUL character.

NFLOG silently truncates prefixes which exceed the maximum length.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
extensions/libxt_NFLOG.t