aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorAlfredo Cardigliano <cardigliano@ntop.org>2021-02-12 09:11:14 +0100
committerAlfredo Cardigliano <cardigliano@ntop.org>2021-02-12 09:11:14 +0100
commit177f1785daf7dad529ffabbec68219f5f78077f2 (patch)
tree562ea28a0f2f300f06c4fb301da9557e59f67846 /src/lib/ndpi_main.c
parent813df77d07d4e763fad1515925ca240a7758f1fb (diff)
Fix warning
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 322cc7500..696ceefe9 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -4783,13 +4783,14 @@ uint8_t ndpi_connection_tracking(struct ndpi_detection_module_struct *ndpi_str,
}
if(flow->guessed_host_protocol_id >= NDPI_MAX_SUPPORTED_PROTOCOLS) {
- u_int32_t num_calls;
+ //u_int32_t num_calls;
NDPI_SELECTION_BITMASK_PROTOCOL_SIZE ndpi_selection_packet;
/* This is a custom protocol and it has priority over everything else */
ret->master_protocol = flow->guessed_protocol_id, ret->app_protocol = flow->guessed_host_protocol_id;
- num_calls = ndpi_check_flow_func(ndpi_str, flow, &ndpi_selection_packet);
+ //num_calls =
+ ndpi_check_flow_func(ndpi_str, flow, &ndpi_selection_packet);
//if(ndpi_str->ndpi_num_custom_protocols != 0)
ndpi_fill_protocol_category(ndpi_str, flow, ret);