aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_private.h1
-rw-r--r--src/lib/ndpi_main.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index df14bd8e9..4b8214e20 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -54,7 +54,6 @@ typedef struct {
struct call_function_struct {
NDPI_PROTOCOL_BITMASK detection_bitmask;
- NDPI_PROTOCOL_BITMASK excluded_protocol_bitmask;
void (*func) (struct ndpi_detection_module_struct *, struct ndpi_flow_struct *flow);
NDPI_SELECTION_BITMASK_PROTOCOL_SIZE ndpi_selection_bitmask;
u_int16_t ndpi_protocol_id;
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 84083b243..8bbd747a8 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -5794,7 +5794,6 @@ void ndpi_set_bitmask_protocol_detection(char *label, struct ndpi_detection_modu
if(b_add_detection_bitmask)
NDPI_ADD_PROTOCOL_TO_BITMASK(ndpi_str->callback_buffer[idx].detection_bitmask, ndpi_protocol_id);
- NDPI_SAVE_AS_BITMASK(ndpi_str->callback_buffer[idx].excluded_protocol_bitmask, ndpi_protocol_id);
} else {
NDPI_LOG_DBG(ndpi_str, "[NDPI] Protocol %s/%u disabled\n", label, ndpi_protocol_id);
}