aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2019-09-27 10:15:20 +0200
committeremanuele-f <black.silver@hotmail.it>2019-09-27 10:15:20 +0200
commit277b4a060acda6f0f20b3df03c4c099df6c7b3a9 (patch)
tree1dea29c9bef99cead6ce9647c066f1f47224d86d /example/ndpiReader.c
parent17f560a1cd5a539bf8940072bac05ccbf3b547f9 (diff)
Add categories test PCAP
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 90e1b0d4f..f3e26b799 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1897,7 +1897,7 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) {
int fields[4];
- if(verbose) printf("[Category] Loading %s\t%s\n", name, category);
+ if(verbose && !quiet_mode) printf("[Category] Loading %s\t%s\n", name, category);
if(sscanf(name, "%d.%d.%d.%d", &fields[0], &fields[1], &fields[2], &fields[3]) == 4)
ndpi_load_ip_category(ndpi_thread_info[thread_id].workflow->ndpi_struct,