aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/telegram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/telegram.c')
-rw-r--r--src/lib/protocols/telegram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/telegram.c b/src/lib/protocols/telegram.c
index 93c308304..ec9179b93 100644
--- a/src/lib/protocols/telegram.c
+++ b/src/lib/protocols/telegram.c
@@ -104,9 +104,9 @@ void ndpi_search_telegram(struct ndpi_detection_module_struct *ndpi_struct,
}
-void init_telegram_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
+void init_telegram_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id)
{
- ndpi_set_bitmask_protocol_detection("Telegram", ndpi_struct, detection_bitmask, *id,
+ ndpi_set_bitmask_protocol_detection("Telegram", ndpi_struct, *id,
NDPI_PROTOCOL_TELEGRAM,
ndpi_search_telegram,
NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_TCP_OR_UDP_WITH_PAYLOAD_WITHOUT_RETRANSMISSION,