Improved invalid logging via printf().

Signed-off-by: lns <matzeton@googlemail.com>
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
lns
2023-04-11 15:39:09 +02:00
committed by Ivan Nardi
parent bebcce5281
commit 6da958655c
+1 -1
View File
@@ -4271,7 +4271,7 @@ int ndpi_load_protocols_file(struct ndpi_detection_module_struct *ndpi_str, cons
buffer[i - 1] = '\0';
if(ndpi_handle_rule(ndpi_str, buffer, 1) != 0)
printf("Discarded duplicated rule %s\n", buffer);
NDPI_LOG_INFO(ndpi_str, "Discraded rule '%s'\n", buffer);
}
rc = 0;