diff options
author | Lorenzo Mangani <lorenzo.mangani@gmail.com> | 2015-09-01 10:02:27 +0200 |
---|---|---|
committer | Lorenzo Mangani <lorenzo.mangani@gmail.com> | 2015-09-01 10:02:27 +0200 |
commit | 50757e7afee04aeb08bec7eac8765ddfd29fc136 (patch) | |
tree | 8a574a7c376acc062b920336e114e30e5cbf1499 /src | |
parent | df64a1069edb62d0c370669e146da22274a803b1 (diff) |
Remove HEP2 match
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/hep.c | 6 |
1 files changed, 1 insertions, 5 deletions
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"); |