]> git.ipfire.org Git - thirdparty/nftables.git/commit
ct: refactor print function so it can be re-used for ct statement
authorFlorian Westphal <fw@strlen.de>
Mon, 27 Feb 2017 23:59:05 +0000 (00:59 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Feb 2017 23:59:38 +0000 (00:59 +0100)
commit2d09a04a12c8564f8044788b2e69da04671230d7
treee5dd986c5912b0097e36d40792ec4de8438b37dc
parent450653a4f0822f170cb412013aa4cf9d6ef6ce3a
ct: refactor print function so it can be re-used for ct statement

Once directional zone support is added we also need to print the
direction of the statement, so factor the common code to re-use
this helper from the statement print function.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/ct.c