diff options
author | Luca Deri <deri@ntop.org> | 2019-12-01 21:40:04 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-12-01 21:40:04 +0100 |
commit | a7b0457753e846818b08c5b75e93d87ae3e6a503 (patch) | |
tree | b3d43c3da7073c2a5303d6af74eb23ad76ef54e3 /src/lib/ndpi_main.c | |
parent | 7da7ae622b2b77ea573319b1485018e8df6fdd6b (diff) |
Improved category detection with HTTP
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 270c8ae36..40bf9ae20 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4699,7 +4699,7 @@ ndpi_protocol ndpi_detection_process_packet(struct ndpi_detection_module_struct if(flow->check_extra_packets) { ndpi_process_extra_packet(ndpi_str, flow, packet, packetlen, current_tick_l, src, dst); /* Update in case of new match */ - ret.master_protocol = flow->detected_protocol_stack[1], ret.app_protocol = flow->detected_protocol_stack[0]; + ret.master_protocol = flow->detected_protocol_stack[1], ret.app_protocol = flow->detected_protocol_stack[0], ret.category = flow->category;; return(ret); } else goto ret_protocols; |