diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-01-27 17:53:18 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-01-27 18:05:13 +0100 |
commit | 257cce1dccb19190ebcb4c48bac421a21daa4a56 (patch) | |
tree | 97de2a779654101691458573d7ed32b5a9cea1ab /config.h | |
parent | 9564b0ce2c239b02235414d908829fff9c684a8c (diff) |
Fixed braindead failure - Increase of NETWORK_BUFFER_MAX_SIZE > 9999 means to also increase NETWORK_BUFFER_LENGTH_DIGITS to 5.
* Fixed ARM32 xcompile warnings; Other GCC versions, other uint64_t's..
* Replaced ridiculous nDPIsrvd_JSON_BYTES with NETWORK_BUFFER_LENGTH_DIGITS.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,8 @@ * e.g. dependencies/nDPIsrvd.py */ #define NETWORK_BUFFER_MAX_SIZE 12288 /* 8192 + 4096 */ +#define NETWORK_BUFFER_LENGTH_DIGITS 5 +#define NETWORK_BUFFER_LENGTH_DIGITS_STR "5" /* nDPId default config options */ #define nDPId_PIDFILE "/tmp/ndpid.pid" @@ -28,6 +30,5 @@ /* nDPIsrvd default config options */ #define nDPIsrvd_PIDFILE "/tmp/ndpisrvd.pid" -#define nDPIsrvd_JSON_BYTES 4 #endif |