]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_pknock: remove DEBUG definition and disable debug output
authorJeremy Sowden <jeremy@azazel.net>
Sun, 25 Oct 2020 13:15:59 +0000 (14:15 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 25 Oct 2020 14:17:40 +0000 (15:17 +0100)
commit939d3ee0d340bed748140b0e5a17d6c78c2d9657
tree5a4d773b31d829ef09bd6d529cc4eebb013e2890
parent5df71f87411a948647aa2f60298b7e429544c4dc
xt_pknock: remove DEBUG definition and disable debug output

The DEBUG definition in xt_pknock.h causes a compiler warning if one
adds a DEBUG define to xt_pknock.c to enable pr_debug. Since it only
controls some debugging output in libxt_pknock.c, it would make sense to
move the definition there, but let's just disable the debugging instead.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/pknock/libxt_pknock.c
extensions/pknock/xt_pknock.h