Renamed ndpi_util.c -> reader_util.c

Added crash fix with IPv6
This commit is contained in:
Luca Deri
2019-07-18 11:38:16 +02:00
parent cbb31fa204
commit b50635cb89
5 changed files with 7 additions and 11 deletions
+2 -3
View File
@@ -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();