diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-03-24 11:17:49 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-03-24 11:28:56 +0100 |
commit | e835d36f63c337fa0546fcdf2c3b46261851de68 (patch) | |
tree | 85101ca0a6e540032d6cc0ddc76009021d5bbaac /schema | |
parent | bdc8c5df2a25f2b626e8f5d6672d11f3ac35a694 (diff) |
Added nDPId-test as all-in-one JSON dumper.
* fixed invalid flow event schema type
* added run_tests.sh to generate/diff JSON dumps
* renamed lot's of vars/fns in nDPId.c/nDPIsrvd.c, so nDPId-test.c can include "*.c"
* improved CMake dependency checks
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/flow_event_schema.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/schema/flow_event_schema.json b/schema/flow_event_schema.json index 60d36a4de..701ebcfb8 100644 --- a/schema/flow_event_schema.json +++ b/schema/flow_event_schema.json @@ -97,12 +97,12 @@ ] }, "l4_proto": { - "type": "string", "oneOf": [ { - "pattern": "^[0-9]+$" + "type": "number" }, { + "type": "string", "enum": [ "tcp", "udp", |