From a121161480b12b6ff2b6988561aede08e6690e8b Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Fri, 4 Dec 2015 21:34:26 +0100 Subject: [PATCH] Added missing HEP initialization --- src/lib/ndpi_main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index c8958465c..e089eff99 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -694,6 +694,11 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "IPP", ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); + ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_HEP, + no_master, + no_master, "HEP", + ndpi_build_default_ports(ports_a, 9064, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_b, 9063, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_HTTP, no_master, no_master, "HTTP",