diff options
author | Luca Deri <deri@ntop.org> | 2019-07-18 11:38:16 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-07-18 11:38:16 +0200 |
commit | b50635cb89927b7f80cee81571f1b8b1f53ae939 (patch) | |
tree | 5126af562b7ce365cc9c26b334597ddb2211cedc /example/ndpiReader.c | |
parent | cbb31fa2041f6da59abdc9e470cafa7e2630b388 (diff) |
Renamed ndpi_util.c -> reader_util.c
Added crash fix with IPv6
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 12a88a1c5..1daac81e6 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -56,7 +56,7 @@ #include <json.h> #endif -#include "ndpi_util.h" +#include "reader_util.h" /** Client parameters **/ @@ -1582,7 +1582,6 @@ static void terminateDetection(u_int16_t thread_id) { * @brief Traffic stats format */ char* formatTraffic(float numBits, int bits, char *buf) { - char unit; if(bits) @@ -3745,7 +3744,7 @@ int orginal_main(int argc, char **argv) { /* Internal checks */ automataUnitTest(); - serializerUnitTest(); + // serializerUnitTest(); gettimeofday(&startup_time, NULL); ndpi_info_mod = ndpi_init_detection_module(); |