From a4f170604ce97b12718181fd43f506edbdb0b0d5 Mon Sep 17 00:00:00 2001 From: Campus Date: Thu, 12 Nov 2015 12:08:41 +0100 Subject: removed kernel support and #if 0s --- src/lib/protocols/http.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/lib/protocols/http.c') 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 */ -- cgit v1.2.3