From 50757e7afee04aeb08bec7eac8765ddfd29fc136 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Tue, 1 Sep 2015 10:02:27 +0200 Subject: Remove HEP2 match --- src/lib/protocols/hep.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/hep.c b/src/lib/protocols/hep.c index 11955ae1e..516e430e7 100644 --- a/src/lib/protocols/hep.c +++ b/src/lib/protocols/hep.c @@ -45,11 +45,7 @@ void ndpi_search_hep(struct ndpi_detection_module_struct *ndpi_struct, struct nd NDPI_LOG(NDPI_PROTOCOL_HEP, ndpi_struct, NDPI_LOG_DEBUG, "found HEP3.\n"); ndpi_int_hep_add_connection(ndpi_struct, flow); return; - } else if (memcmp(packet_payload, "HEP2", 4) == 0) { - NDPI_LOG(NDPI_PROTOCOL_HEP, ndpi_struct, NDPI_LOG_DEBUG, "found HEP2.\n"); - ndpi_int_hep_add_connection(ndpi_struct, flow); - return; - } + } } NDPI_LOG(NDPI_PROTOCOL_HEP, ndpi_struct, NDPI_LOG_DEBUG, "exclude HEP.\n"); -- cgit v1.2.3