diff options
-rw-r--r-- | example/ndpiReader.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 2b683bf53..a1fa6f318 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -514,7 +514,10 @@ static void parseOptions(int argc, char **argv) { } } - if(do_capture) extcap_capture(); + if(do_capture) { + quiet_mode = 1; + extcap_capture(); + } // check parameters if(_pcap_file[0] == NULL || strcmp(_pcap_file[0], "") == 0) { |