diff options
author | Michele Campus <fci1908@gmail.com> | 2015-11-12 14:57:02 +0100 |
---|---|---|
committer | Michele Campus <fci1908@gmail.com> | 2015-11-12 14:57:02 +0100 |
commit | dd3a79dac2bd67ce4ef5bb8fde0fb5936d8d4d81 (patch) | |
tree | e61b9887adde422ff8b7f5fd37b01eb8993c618a /src/lib/protocols/http.c | |
parent | 63cab68a9687f48a955f1edf35c7230b7a0c2d2d (diff) | |
parent | a4f170604ce97b12718181fd43f506edbdb0b0d5 (diff) |
Merge pull request #114 from kYroL01/dev
Refactoring nDPI
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 9314dba65..ced34c099 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -349,14 +349,6 @@ static void check_content_type_and_change_protocol(struct ndpi_detection_module_ NDPI_LOG(NDPI_PROTOCOL_HTTP, ndpi_struct, NDPI_LOG_DEBUG, "User Agent Type Line found %.*s\n", packet->user_agent_line.len, packet->user_agent_line.ptr); - -#if 0 - if((ndpi_struct->http_dont_dissect_response) || flow->http_detected) - ndpi_match_content_subprotocol(ndpi_struct, flow, - (char*)packet->user_agent_line.ptr, - packet->user_agent_line.len, - NDPI_PROTOCOL_HTTP); -#endif } /* check for host line */ |