diff options
author | Luca <deri@ntop.org> | 2017-04-27 14:57:04 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-04-27 14:57:04 +0200 |
commit | e1b905124fce4d1aac35006f6721e27c1ee81228 (patch) | |
tree | f96c8e729dea6f0bd5c9959acc8b5918493cfa25 /example/ndpi_util.c | |
parent | 6cae3a7dceff002852778f1a09caf9571687f8b5 (diff) |
Improved SSL dissection
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r-- | example/ndpi_util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c index 941e7f88d..eb6744ccc 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -561,11 +561,10 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow, /* New protocol detected or give up */ flow->detection_completed = 1; - process_ndpi_collected_info(workflow, flow); - if(flow->detected_protocol.app_protocol == NDPI_PROTOCOL_UNKNOWN) - flow->detected_protocol = ndpi_detection_giveup(workflow->ndpi_struct, - flow->ndpi_flow); + flow->detected_protocol = ndpi_detection_giveup(workflow->ndpi_struct, + flow->ndpi_flow); + process_ndpi_collected_info(workflow, flow); } return(flow->detected_protocol); |