summaryrefslogtreecommitdiffstats
path: root/doc/data-types.txt
diff options
context:
space:
mode:
authorJose M. Guisado Gomez <guigom@riseup.net>2020-12-06 11:12:33 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-12-08 12:47:04 +0100
commit12fdaf7e3efdab1f30f40154ee7db3f25cbb0add (patch)
treee9a9cd029cfb1fa94ebb75b00fd7ceb82cec3a55 /doc/data-types.txt
parent3cfb9e4b3e40e0fef18383dd865bb083f9168e95 (diff)
monitor: add assignment check for json_echo
When --echo and --json is specified and native syntax is read, only the last instruction is printed. This happens because the reference to the json_echo is reassigned each time netlink_echo_callback is executed for an instruction to be echoed. Add an assignment check for json_echo to avoid reassigning it. Fixes: cb7e02f44d6a (src: enable json echo output when reading native syntax) Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/data-types.txt')
0 files changed, 0 insertions, 0 deletions