diff options
author | Campus <campus@ntop.org> | 2017-07-07 12:50:06 +0200 |
---|---|---|
committer | Campus <campus@ntop.org> | 2017-07-07 12:50:06 +0200 |
commit | cfa9a79f67c089718b3bf3b61f24be1412a80936 (patch) | |
tree | 840456f0b1de3eaf8d9e30bff5eaba8feb8e200d /example | |
parent | d66e473a2c1d336e024c4d8bcefb3785e16ffd5e (diff) |
fix for OpenBSD compile error https://github.com/ntop/nDPI/issues/417
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index a93147421..dbcfd1844 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -62,7 +62,9 @@ static char *_pcap_file[MAX_NUM_READER_THREADS]; /**< Ingress pcap file/interfac static FILE *playlist_fp[MAX_NUM_READER_THREADS] = { NULL }; /**< Ingress playlist */ static FILE *results_file = NULL; static char *results_path = NULL; +#ifndef __OpenBSD__ static char *_bpf_filter = NULL; /**< bpf filter */ +#endif static char *_protoFilePath = NULL; /**< Protocol file path */ static char *_statsFilePath = NULL; /**< Top stats file path */ #ifdef HAVE_JSON_C |