From e835d36f63c337fa0546fcdf2c3b46261851de68 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 24 Mar 2021 11:17:49 +0100 Subject: 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 --- schema/flow_event_schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'schema/flow_event_schema.json') 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", -- cgit v1.2.3