aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/steam.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2015-10-12 01:17:19 +0200
committerLuca Deri <deri@ntop.org>2015-10-12 01:17:19 +0200
commit91b2e0bff2e233c006c347ea3186725f2f597879 (patch)
treed047393553ce0e077ac2b3db26def8c05456bf1a /src/lib/protocols/steam.c
parent17ad3513862075558208e1a78fbfaff80543ef5f (diff)
parent72eafff843d32baaa7d8c34be19c6c560b2fc4f9 (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src/lib/protocols/steam.c')
-rw-r--r--src/lib/protocols/steam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/protocols/steam.c b/src/lib/protocols/steam.c
index fe7b9d161..7ed0eae29 100644
--- a/src/lib/protocols/steam.c
+++ b/src/lib/protocols/steam.c
@@ -34,6 +34,7 @@ static void ndpi_int_steam_add_connection(struct ndpi_detection_module_struct *n
static void ndpi_check_steam_http(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) {
struct ndpi_packet_struct *packet = &flow->packet;
+ NDPI_PARSE_PACKET_LINE_INFO(ndpi_struct, flow, packet);
if (packet->user_agent_line.ptr != NULL
&& packet->user_agent_line.len >= 23
&& memcmp(packet->user_agent_line.ptr, "Valve/Steam HTTP Client", 23) == 0) {