Update ndpi_main.c

This commit is contained in:
dillinger79
2018-03-01 15:45:26 +02:00
committed by GitHub
parent b19cd086b4
commit 38199a589f
+1
View File
@@ -3810,6 +3810,7 @@ ndpi_protocol ndpi_detection_process_packet(struct ndpi_detection_module_struct
if(flow->guessed_host_protocol_id >= (NDPI_MAX_SUPPORTED_PROTOCOLS-1)) {
/* This is a custom protocol and it has priority over everything else */
ret.master_protocol = NDPI_PROTOCOL_UNKNOWN, ret.app_protocol = flow->guessed_host_protocol_id;
check_ndpi_flow_func(ndpi_struct, flow, &ndpi_selection_packet);
return(ret);
}