aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorberat <beratiz@gmail.com>2017-09-25 11:06:47 +0200
committerberat <beratiz@gmail.com>2017-09-25 11:06:47 +0200
commitb0f3852fed9273f530753573ca1bde9d714ae988 (patch)
tree11a7aa25a19ebd5a8b743e1b367053be4e2642a4 /example/ndpi_util.h
parentcd595caf8d3303ea01b7acffdeb73e14b73d609d (diff)
improved (-x flag) bpf filter condition
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index fd4c4b84d..eb54ac9fb 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -48,6 +48,7 @@
#define HOST_ARRAY_SIZE 20
#define FLOWS_PACKETS_THRESHOLD 0.9
#define FLOWS_PERCENT_THRESHOLD 1.0
+#define FLOWS_THRESHOLD 1000
#define INIT_VAL -1
// flow tracking