aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-06-13 23:53:32 +0200
committerLuca Deri <deri@ntop.org>2022-06-13 23:53:32 +0200
commit831562c141a01f73676ac67df9df1e2ea1658e0d (patch)
tree7ed6082624af888f73f8ec5013da9f62a8daeeee /src/lib/ndpi_main.c
parent7a172ce11e0b8ebef5af842fc9bc1be6fc3ecc0c (diff)
Restored ndpi_set_proto_defaults() prototype
Updated test results
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 1c6703a7d..544470da3 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -466,13 +466,13 @@ void ndpi_set_proto_subprotocols(struct ndpi_detection_module_struct *ndpi_str,
/* ********************************************************************************** */
-static void ndpi_set_proto_defaults(struct ndpi_detection_module_struct *ndpi_str,
- u_int8_t is_cleartext, u_int8_t is_app_protocol,
- ndpi_protocol_breed_t breed,
- u_int16_t protoId, char *protoName,
- ndpi_protocol_category_t protoCategory,
- ndpi_port_range *tcpDefPorts,
- ndpi_port_range *udpDefPorts) {
+void ndpi_set_proto_defaults(struct ndpi_detection_module_struct *ndpi_str,
+ u_int8_t is_cleartext, u_int8_t is_app_protocol,
+ ndpi_protocol_breed_t breed,
+ u_int16_t protoId, char *protoName,
+ ndpi_protocol_category_t protoCategory,
+ ndpi_port_range *tcpDefPorts,
+ ndpi_port_range *udpDefPorts) {
char *name;
int j;