summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2019-09-13 13:56:59 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-09-13 18:30:31 +0200
commite1e33b8907bf7c2110bdc3990908a0049bbbe71d (patch)
tree7d16665011f6ffcb263ef42b2c143128410e962a /tests/shell
parentf44ab88b1088eeee8a1a9e1a63db4978932f257f (diff)
json: fix type mismatch on "ct expect" json exporting
The size field in ct_expect struct should be parsed as json integer and not as a string. Also, l3proto field is parsed as string and not as an integer. That was causing a segmentation fault when exporting "ct expect" objects as json. Fixes: 1dd08fcfa07a ("src: add ct expectations support") Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
0 files changed, 0 insertions, 0 deletions