aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tencent_games.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/tencent_games.c')
-rw-r--r--src/lib/protocols/tencent_games.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/protocols/tencent_games.c b/src/lib/protocols/tencent_games.c
index e10106d57..12bde1b37 100644
--- a/src/lib/protocols/tencent_games.c
+++ b/src/lib/protocols/tencent_games.c
@@ -73,6 +73,13 @@ static void ndpi_search_tencent_games(struct ndpi_detection_module_struct *ndpi_
ndpi_int_tencent_games_add_connection(ndpi_struct, flow);
return;
}
+
+ if (ntohl(get_u_int32_t(packet->payload, 0)) == 0x4215F787 &&
+ get_u_int16_t(packet->payload, 6) == 0)
+ {
+ ndpi_int_tencent_games_add_connection(ndpi_struct, flow);
+ return;
+ }
}
NDPI_EXCLUDE_PROTO(ndpi_struct, flow);