aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/radmin.c
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2024-04-03 14:10:21 +0200
committerGitHub <noreply@github.com>2024-04-03 14:10:21 +0200
commit41eef9246c6a3055e3876e3dd7aeaadecb4b76c0 (patch)
tree275c7300abf2233e8d89896a3a888ada01fef4bb /src/lib/protocols/radmin.c
parentb5e8bc22147d37011621ae62b680742c8fa105dc (diff)
Disable `-Wno-unused-parameter -Wno-unused-function`. (#2358)
* unused parameters and functions pollute the code and decrease readability Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/radmin.c')
-rw-r--r--src/lib/protocols/radmin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/radmin.c b/src/lib/protocols/radmin.c
index 174c8e3f7..6554b0074 100644
--- a/src/lib/protocols/radmin.c
+++ b/src/lib/protocols/radmin.c
@@ -36,7 +36,7 @@ static void ndpi_int_radmin_add_connection(struct ndpi_detection_module_struct *
ndpi_set_detected_protocol(ndpi_struct, flow,
NDPI_PROTOCOL_RADMIN, NDPI_PROTOCOL_UNKNOWN,
NDPI_CONFIDENCE_DPI);
- ndpi_set_risk(ndpi_struct, flow, NDPI_DESKTOP_OR_FILE_SHARING_SESSION, "Found Radmin");
+ ndpi_set_risk(flow, NDPI_DESKTOP_OR_FILE_SHARING_SESSION, "Found Radmin");
}
static void ndpi_search_radmin(struct ndpi_detection_module_struct *ndpi_struct,