aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2020-05-25 19:04:52 +0200
committerNardi Ivan <nardi.ivan@gmail.com>2020-06-25 18:02:03 +0200
commit6b69e7ebbc55538b75daf925177c8cbe59a4e7b8 (patch)
tree42eef48458a52453b988e0c134085932dfe6e659 /example/ndpiReader.c
parent0b53bc2aab97aefbcfd1f7c6f3c1cf96d8ab823f (diff)
Restore extcap functionality, i.e. integration with wireshark
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index a24756c7d..c4b3ab99c 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -840,6 +840,11 @@ static void parseOptions(int argc, char **argv) {
printCSVHeader();
#ifndef USE_DPDK
+ if(do_capture) {
+ quiet_mode = 1;
+ extcap_capture();
+ }
+
if(strchr(_pcap_file[0], ',')) { /* multiple ingress interfaces */
num_threads = 0; /* setting number of threads = number of interfaces */
__pcap_file = strtok(_pcap_file[0], ",");