aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/qq.c
diff options
context:
space:
mode:
authorzhenxian.wang <zhenxian.wang@7x-networks.com>2019-06-18 18:04:46 +0800
committerzhenxian.wang <zhenxian.wang@7x-networks.com>2019-06-18 18:04:46 +0800
commit1891f687b6401041ca37ba8c16e13d28d1869fad (patch)
treec7e0c854ff6cfcaf32e103e1c3d7d29e95de6ebb /src/lib/protocols/qq.c
parent41b75485eba80485eb3b5b8ae6f7f90d5f44e47e (diff)
new QQ version
Diffstat (limited to 'src/lib/protocols/qq.c')
-rw-r--r--src/lib/protocols/qq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/protocols/qq.c b/src/lib/protocols/qq.c
index 077d385fa..df88f3f16 100644
--- a/src/lib/protocols/qq.c
+++ b/src/lib/protocols/qq.c
@@ -243,10 +243,10 @@ u_int8_t ndpi_is_valid_qq_ft_packet(const struct ndpi_packet_struct *packet)
static void ndpi_search_qq_udp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
{
struct ndpi_packet_struct *packet = &flow->packet;
-
- static const u_int16_t p8000_patt_02[13] = // maybe version numbers
- { 0x1549, 0x1801, 0x180d, 0x0961, 0x01501, 0x0e35, 0x113f, 0x0b37, 0x1131, 0x163a, 0x1e0d, 0x3619,};
- u_int16_t no_of_patterns = 12, index = 0;
+
+ static const u_int16_t p8000_patt_02[14] = // maybe version numbers
+ { 0x1549, 0x1801, 0x180d, 0x0961, 0x01501, 0x0e35, 0x113f, 0x0b37, 0x1131, 0x163a, 0x1e0d, 0x3619, 0x371b,};
+ u_int16_t no_of_patterns = 13, index = 0;
NDPI_LOG_DBG(ndpi_struct, "search qq udp\n");