aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2017-06-26 12:14:50 +0200
committerCampus <campus@ntop.org>2017-06-26 12:14:50 +0200
commit100062a15692157814bd3c106b9ab37a1ec95af1 (patch)
treec40c09e8fac16d446593be16f5c66708abcc2395 /example/ndpiReader.c
parent5b8d566a79ebe5b2a74911775ddda6efad4c4757 (diff)
parenta40507b8b27399ab674b504a861c3ec69a7fd063 (diff)
Merge branch 'YumingMa-dev' into dev
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 09b909c22..8d8ad85fe 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -2270,7 +2270,7 @@ void automataUnitTest() {
* @brief Produce port based pbf filter for port array
* and saves it in .json format
*/
-
+#ifdef HAVE_JSON_C
void bpf_filter_produce_filter(int port_array[], int size, char *filePath){
char *prefix = "bpf_filter_";
char _filterFilePath[1024];
@@ -2319,7 +2319,7 @@ void bpf_filter_produce_filter(int port_array[], int size, char *filePath){
printf("created: %s\n", _filterFilePath);
}
-
+#endif
/* *********************************************** */
/**
* @brief Initialize port array