diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2013-07-25 22:20:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-07-25 22:28:53 +0200 |
commit | 4b71a4e268409990b32f57adc8a39ce623755f23 (patch) | |
tree | 11d06d27b20f9b8f01f2902a01d4023eca00913f /tests/xmlfiles/59-rule-real.xml | |
parent | f1427774b505e49c381fe51bde58a1cb431a1f70 (diff) |
src: utils: add verdict2str and use it
Add verdict2str() and str2verdict() helper functions and use in XML.
While at it, I've fixed a small style issue in the data_reg JSON output and
a bug in the data_reg XML parser: The parser walked the top level tree,
instead of single <data_reg> node. Introduced in (51370f0 src: add support
for XML parsing).
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/xmlfiles/59-rule-real.xml')
0 files changed, 0 insertions, 0 deletions