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:
+1
-1
@@ -4271,7 +4271,7 @@ int ndpi_load_protocols_file(struct ndpi_detection_module_struct *ndpi_str, cons
|
|||||||
buffer[i - 1] = '\0';
|
buffer[i - 1] = '\0';
|
||||||
|
|
||||||
if(ndpi_handle_rule(ndpi_str, buffer, 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;
|
rc = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user