aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorberat <beratiz@gmail.com>2017-06-30 09:52:26 +0200
committerberat <beratiz@gmail.com>2017-06-30 09:52:26 +0200
commite857c5fb41b8bbfbc61efcba1b787eeaa87dc089 (patch)
tree7239d5338e6478c4fae43167ed90951d7e05a71d /example/ndpi_util.h
parent4a1ced37099d32867cf531b8eb1bb31f9f3db558 (diff)
extended bpf filter produced by -x flag to include hosts
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 0a465a3c0..f6d315748 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -44,6 +44,7 @@
#define DIR_SRC 10
#define DIR_DST 20
#define PORT_ARRAY_SIZE 20
+#define HOST_ARRAY_SIZE 20
#define FLOWS_PACKETS_TRESHOLD 0.9
#define FLOWS_PERCENT_TRESHOLD 1.0
#define INIT_VAL -1