diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2014-08-25 15:02:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-08-25 16:11:01 +0200 |
commit | fefd5494d5c23075bd90a41da9961ef8aeab5467 (patch) | |
tree | 363236dc5933a4a0d19f3c143a0cd5ef88a0c53c /src/expr/data_reg.h | |
parent | a5e922d31258fcd641ee67cf2ebd865e7f1eb4ea (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 'src/expr/data_reg.h')
0 files changed, 0 insertions, 0 deletions