From daaaa615197d8551457ecf926f6df30c6482a70a Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 13 Mar 2022 03:08:44 +0100 Subject: Renamed basic event to error event for the sake of the logic. Signed-off-by: Toni Uhlig --- examples/py-semantic-validation/py-semantic-validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/py-semantic-validation/py-semantic-validation.py') diff --git a/examples/py-semantic-validation/py-semantic-validation.py b/examples/py-semantic-validation/py-semantic-validation.py index 65bf133c1..4b495487c 100755 --- a/examples/py-semantic-validation/py-semantic-validation.py +++ b/examples/py-semantic-validation/py-semantic-validation.py @@ -143,7 +143,7 @@ def onJsonLineRecvd(json_dict, instance, current_flow, global_user_data): td = instance.getThreadDataFromJSON(json_dict) - for event_name in ['basic_event_name', 'daemon_event_name', + for event_name in ['error_event_name', 'daemon_event_name', 'packet_event_name', 'flow_event_name']: if event_name in json_dict and json_dict[event_name].lower() == 'invalid': raise SemanticValidationException(current_flow, -- cgit v1.2.3