diff options
author | Luca Deri <deri@ntop.org> | 2019-01-14 20:03:06 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-01-14 20:03:06 +0100 |
commit | f2f2dbe381c0f92f0cc859835238723fea77c767 (patch) | |
tree | b9d648d633914286407a674ee672e08d17556196 /src/lib/protocols/http.c | |
parent | 60eee5f9e9a75bd66afbd2ea97cb3b766083107c (diff) |
Fix for IPv6 HTTP traffic
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index e92701072..b1917281c 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -630,7 +630,7 @@ static void ndpi_check_http_tcp(struct ndpi_detection_module_struct *ndpi_struct return; } - if((packet->payload_packet_len == 23) && (memcmp(packet->payload, "<policy-file-request/>", 23) == 0)) { + if((packet->iph != NULL) && (packet->payload_packet_len == 23) && (memcmp(packet->payload, "<policy-file-request/>", 23) == 0)) { /* <policy-file-request/> <cross-domain-policy> |