From 7ec3af2156d48722941655951d363694bdcc5625 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 25 Jul 2017 16:45:22 +0200 Subject: Removed reference to ndpi_init_placeholder_proto() that is no longer necessary --- src/lib/ndpi_main.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index a2f957ce9..21e43a8d3 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -684,21 +684,6 @@ static void init_string_based_protocols(struct ndpi_detection_module_struct *ndp /* ******************************************************************** */ -static void ndpi_init_placeholder_proto(struct ndpi_detection_module_struct *ndpi_mod, - ndpi_port_range *ports_a, - ndpi_port_range *ports_b, - u_int16_t *no_master, - u_int16_t proto_id) -{ - ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, proto_id, - no_master, - no_master, "Placeholder", NDPI_PROTOCOL_CATEGORY_UNSPECIFIED, - ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0), /* TCP */ - ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0)); /* UDP */ -} - -/* ******************************************************************** */ - /* This function is used to map protocol name and default ports and it MUST be updated whenever a new protocol is added to NDPI. -- cgit v1.2.3