diff options
author | Matteo Bracci <matteobracci1@gmail.com> | 2015-07-17 18:43:32 +0200 |
---|---|---|
committer | Matteo Bracci <matteobracci1@gmail.com> | 2015-07-17 18:43:32 +0200 |
commit | 5165102f817d73246e392c9fddcc77a9b7ac74d7 (patch) | |
tree | 084be954472f6e03c6fc75ec6b5a5f62ffd46598 /src | |
parent | d215d6d8617ab1454fcb74776b6b245a1f4dc670 (diff) |
Update world_of_warcraft.c
Commented the first part of the dissector, as it steals traffic from other Battle.net based protocols.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/world_of_warcraft.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/protocols/world_of_warcraft.c b/src/lib/protocols/world_of_warcraft.c index b9f4dee31..59d5c0a4d 100644 --- a/src/lib/protocols/world_of_warcraft.c +++ b/src/lib/protocols/world_of_warcraft.c @@ -61,6 +61,7 @@ void ndpi_search_worldofwarcraft(struct ndpi_detection_module_struct NDPI_LOG(NDPI_PROTOCOL_WORLDOFWARCRAFT, ndpi_struct, NDPI_LOG_DEBUG, "Search World of Warcraft.\n"); if (packet->tcp != NULL) { + /* if ((packet->payload_packet_len > NDPI_STATICSTRING_LEN("POST /") && memcmp(packet->payload, "POST /", NDPI_STATICSTRING_LEN("POST /")) == 0) || (packet->payload_packet_len > NDPI_STATICSTRING_LEN("GET /") && @@ -76,6 +77,7 @@ void ndpi_search_worldofwarcraft(struct ndpi_detection_module_struct return; } } + */ if (packet->payload_packet_len > NDPI_STATICSTRING_LEN("GET /") && memcmp(packet->payload, "GET /", NDPI_STATICSTRING_LEN("GET /")) == 0) { ndpi_parse_packet_line_info(ndpi_struct, flow); |