diff options
author | Luca Deri <deri@ntop.org> | 2017-01-31 16:01:58 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-01-31 16:01:58 +0100 |
commit | a3d32d9d80db80fcfce67c70e97121d84c29a112 (patch) | |
tree | 1753e64abe5fda9c9552f26dd9974134f3089ca2 /src | |
parent | bf35300817e6c7bda4a7305da4f95fa206991448 (diff) |
Improved HTTP subprotocol matching
Diffstat (limited to 'src')
-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 d405e407b..41e04467c 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -40,7 +40,7 @@ static void ndpi_int_http_add_connection(struct ndpi_detection_module_struct *nd ndpi_search_tcp_or_udp(ndpi_struct, flow); /* If no custom protocol has been detected */ - if(flow->detected_protocol_stack[0] == NDPI_PROTOCOL_UNKNOWN) { + /* if(flow->detected_protocol_stack[0] == NDPI_PROTOCOL_UNKNOWN) */ { if(protocol == NDPI_PROTOCOL_HTTP) { ndpi_int_reset_protocol(flow); ndpi_set_detected_protocol(ndpi_struct, flow, flow->guessed_host_protocol_id, protocol); |