]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-monitor: print packet first
authorFlorian Westphal <fw@strlen.de>
Sat, 12 Dec 2020 15:15:34 +0000 (16:15 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 14 Dec 2020 16:04:31 +0000 (17:04 +0100)
commit180ba723d0b305fab9287d3bc5f845a43d9eb793
tree8072f0f0e0f81a31dce64a1af956ad29fa16738d
parent946923b640afc2249cf98743ff60a97291108701
xtables-monitor: print packet first

The trace mode should first print the packet that was received and
then the rule/verdict.

Furthermore, the monitor did sometimes print an extra newline.

After this patch, output is more consistent with nft monitor.

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/xtables-monitor.c