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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/telegram.c b/src/lib/protocols/telegram.c
index 4cb71098c..3b4085800 100644
--- a/src/lib/protocols/telegram.c
+++ b/src/lib/protocols/telegram.c
@@ -30,7 +30,7 @@
static void ndpi_int_telegram_add_connection(struct ndpi_detection_module_struct
*ndpi_struct, struct ndpi_flow_struct *flow)
{
- ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_TELEGRAM/* , NDPI_REAL_PROTOCOL */);
+ ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_TELEGRAM);
NDPI_LOG(NDPI_PROTOCOL_TELEGRAM, ndpi_struct, NDPI_LOG_TRACE, "TELEGRAM Found.\n");
}