]> git.ipfire.org Git - thirdparty/suricata.git/commit
output-json: move code to get 5-tuple to own function
authorMats Klepsland <mats.klepsland@gmail.com>
Fri, 27 Jan 2017 11:42:08 +0000 (12:42 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 17 Feb 2017 12:08:25 +0000 (13:08 +0100)
commit7293286f2fab12cd674d29d0a5559de03954aa09
tree2d6ed0d1a272109bc8c796592169f2c75e4966ef
parent8c8db1cf0f8dccf0119300addfd2d6a51367e166
output-json: move code to get 5-tuple to own function

Move code to get 5-tuple in JSON object to own function 'JsonFiveTuple'.
This enables this code to be reused when printing 'parent' JSON object in
output-json-alert.
src/output-json.c
src/output-json.h