aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfredo Cardigliano <cardigliano@ntop.org>2021-07-23 18:12:54 +0200
committerAlfredo Cardigliano <cardigliano@ntop.org>2021-07-23 18:12:54 +0200
commitd5a60880d0e58d9e323b260c29d2aaffceb86373 (patch)
treed69c46674f7ff1a61a8b3df4e3d6cc3ca3cac953 /src
parent61fc5be202f05113de07c063fa3fc9ccc47625d8 (diff)
Fix prototype
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_api.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 4c6f54aca..1795a212c 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -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