From f713ec702bd367f14c6ff75ea89f3c155c65a904 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 14 Apr 2021 21:39:23 +0200 Subject: Added nDPId semantic validation test. * fixed inconsistent processing of remaining flows during nDPId shutdown phase * fixed multiple `detected' flow events (instead only `detection-update' flow events can occur after a `detected' flow event) * fixed nDPIsrvd.py invalid message buffer handling * improved run_tests.sh so only valid pcap capture files are getting processed (and some more cosmetics + logging) Signed-off-by: Toni Uhlig --- examples/py-schema-validation/py-schema-validation.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/py-schema-validation/py-schema-validation.py') diff --git a/examples/py-schema-validation/py-schema-validation.py b/examples/py-schema-validation/py-schema-validation.py index defba96e9..6273a5aa5 100755 --- a/examples/py-schema-validation/py-schema-validation.py +++ b/examples/py-schema-validation/py-schema-validation.py @@ -48,3 +48,5 @@ if __name__ == '__main__': nsock.loop(onJsonLineRecvd, Stats()) except nDPIsrvd.SocketConnectionBroken as err: sys.stderr.write('\n{}\n'.format(err)) + except KeyboardInterrupt: + print() -- cgit v1.2.3