Fix prototype

This commit is contained in:
Alfredo Cardigliano
2021-07-23 18:12:54 +02:00
parent 61fc5be202
commit d5a60880d0
+3 -1
View File
@@ -457,10 +457,12 @@ extern "C" {
/**
* Check if the string content passed match with a protocol
*
* @par ndpi_struct = the detection module
* @par flow = the flow where match the host
* @par subprotocol_id = subprotocol id
*/
void ndpi_check_subprotocol_risk(struct ndpi_flow_struct *flow, u_int16_t subprotocol_id);
void ndpi_check_subprotocol_risk(struct ndpi_detection_module_struct *ndpi_str,
struct ndpi_flow_struct *flow, u_int16_t subprotocol_id) {
/**
* Check if the string content passed match with a protocol