From 6c0ac8b0457dd56d99f55ccc87e3c9495ee6f412 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 25 Sep 2020 20:03:14 +0200 Subject: Added new flow event: FLOW_EVENT_DETECTION_UPDATE * This event will be triggered when nDPI detection has some new information for us (hopefully). * Detection change is based on hashing with 32-bit murmur3 certain members of the ndpi flow struct. Signed-off-by: Toni Uhlig --- examples/py-flow-info/flow-info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/py-flow-info/flow-info.py') diff --git a/examples/py-flow-info/flow-info.py b/examples/py-flow-info/flow-info.py index 27ae2e626..77eb70c15 100755 --- a/examples/py-flow-info/flow-info.py +++ b/examples/py-flow-info/flow-info.py @@ -22,8 +22,8 @@ def parse_json_str(json_str): event_str = 'Idle flow' elif event == 'detected': event_str = 'Detected' - elif event == 'detected-extra': - event_str = 'Detected Extra' + elif event == 'detection-update': + event_str = 'Update' elif event == 'guessed': event_str = 'Guessed' elif event == 'not-detected': -- cgit v1.2.3