diff options
author | lns <matzeton@googlemail.com> | 2023-04-11 13:06:57 +0200 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-04-11 15:39:09 +0200 |
commit | 6da958655ce037ec33f934c2039bb429b5e7476e (patch) | |
tree | 417a504379db1245efa93ee01fd0c794b5f4aaa3 | |
parent | bebcce528149cbd8255fc26ab1d3661bf7589fcc (diff) |
Improved invalid logging via printf().
Signed-off-by: lns <matzeton@googlemail.com>
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 1718c11b7..65516c251 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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; |