summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2014-08-25 15:02:27 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-08-25 16:11:01 +0200
commitfefd5494d5c23075bd90a41da9961ef8aeab5467 (patch)
tree363236dc5933a4a0d19f3c143a0cd5ef88a0c53c /include/linux
parenta5e922d31258fcd641ee67cf2ebd865e7f1eb4ea (diff)
src: fix printing of XML/JSON event wrapper header/footer
Use the nft_fprintf() helper. The helper handles \0 properly. Before this patch, we get trash in the output due to the buffer being printed without any \0. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions