diff options
author | Phil Sutter <phil@nwl.cc> | 2018-05-28 18:51:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-01 09:16:48 +0200 |
commit | bc3e9adc19bc1624010dd478b5e9f006b072298c (patch) | |
tree | eccfeecca63893e5724c6cc960bc390accb2459e /src/ct.c | |
parent | c36288dbe2ba363586424c2951fd715873608581 (diff) |
JSON: Simplify tcp option expression parsing a bit
When parsing the optional "field" property, use return code of
json_unpack() directly to check if it was present or not.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/ct.c')
0 files changed, 0 insertions, 0 deletions