Removed reference to ndpi_init_placeholder_proto() that is no longer necessary

This commit is contained in:
Luca
2017-07-25 16:45:22 +02:00
parent bab373f992
commit 7ec3af2156
-15
View File
@@ -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.