diff options
author | Luca Deri <lucaderi@thor.caida.org> | 2017-05-24 10:11:04 -0700 |
---|---|---|
committer | Luca Deri <lucaderi@thor.caida.org> | 2017-05-24 10:11:04 -0700 |
commit | e1efee8594ac0a2f18e3888dba4423bcdcbab085 (patch) | |
tree | 19db7f5f09ffb5887e7a9fe0be59b83125ed99e2 /example | |
parent | 993605d4f38e6e63a9ca6fee14a60688ae9df0de (diff) |
Added check for searching JSON-C in home directory if not installed
Fixed type
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 6184ea380..c00d630f0 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1314,7 +1314,7 @@ static void saveTopStats(FILE *fp, struct top_stats *stats, int direction, u_int } } - json_object_object_add(jsMain, (direction == DIR_SRC) ? "top.src.pckt.stats" : "top.dst.pckt.stats", jArray_filters); + json_object_object_add(jsMain, (direction == DIR_SRC) ? "top.src.pkts.stats" : "top.dst.pkts.stats", jArray_filters); /*sort top stats by ip addr count*/ HASH_SORT(stats, top_stats_sort); |