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-flow-dashboard/flow-dash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/py-flow-dashboard/flow-dash.py') diff --git a/examples/py-flow-dashboard/flow-dash.py b/examples/py-flow-dashboard/flow-dash.py index 624824f60..2ac825cac 100755 --- a/examples/py-flow-dashboard/flow-dash.py +++ b/examples/py-flow-dashboard/flow-dash.py @@ -62,7 +62,7 @@ def nDPIsrvd_worker_onJsonLineRecvd(json_dict, instance, current_flow, global_us shared_flow_dict['total-events'] += 1 shared_flow_dict['total-json-bytes'] = nsock.received_bytes - if 'basic_event_name' in json_dict: + if 'error_event_name' in json_dict: shared_flow_dict['total-base-events'] += 1 if 'daemon_event_name' in json_dict: -- cgit v1.2.3