diff options
author | Luca <deri@ntop.org> | 2017-07-25 16:45:22 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-07-25 16:45:22 +0200 |
commit | 7ec3af2156d48722941655951d363694bdcc5625 (patch) | |
tree | cc9bd9d489c0409448f57d071f0b6ff022905202 | |
parent | bab373f9924eb091052bb53a38d44ede5bbe72d8 (diff) |
Removed reference to ndpi_init_placeholder_proto() that is no longer necessary
-rw-r--r-- | src/lib/ndpi_main.c | 15 |
1 files changed, 0 insertions, 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. |