diff options
Diffstat (limited to 'src/lib/protocols/starcraft.c')
-rw-r--r-- | src/lib/protocols/starcraft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/starcraft.c b/src/lib/protocols/starcraft.c index d04f2a381..a4d130e8e 100644 --- a/src/lib/protocols/starcraft.c +++ b/src/lib/protocols/starcraft.c @@ -48,7 +48,7 @@ static u_int8_t sc2_match_logon_ip(struct ndpi_packet_struct* packet) transfer generated by the user interaction with the client, e.g. chatting or looking at someone's match history. The current way to detect this is plain dumb packet matching. */ -static u_int8_t ndpi_check_starcraft_tcp(struct ndpi_detection_module_struct* ndpi_struct, struct ndpi_flow_struct* flow) +static u_int8_t ndpi_check_starcraft_tcp(struct ndpi_detection_module_struct* ndpi_struct) { struct ndpi_packet_struct* packet = &ndpi_struct->packet; @@ -132,7 +132,7 @@ static void ndpi_search_starcraft(struct ndpi_detection_module_struct* ndpi_stru } } else if (packet->tcp != NULL) { - result = ndpi_check_starcraft_tcp(ndpi_struct, flow); + result = ndpi_check_starcraft_tcp(ndpi_struct); if (result == 1) { NDPI_LOG_INFO(ndpi_struct, "Found Starcraft 2 [Client, TCP]\n"); ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_STARCRAFT, NDPI_PROTOCOL_UNKNOWN, NDPI_CONFIDENCE_DPI); |