diff options
Diffstat (limited to 'src/include/ndpi_define.h.in')
-rw-r--r-- | src/include/ndpi_define.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ndpi_define.h.in b/src/include/ndpi_define.h.in index 13989a60e..5add2e1c8 100644 --- a/src/include/ndpi_define.h.in +++ b/src/include/ndpi_define.h.in @@ -179,6 +179,8 @@ #define NDPI_JABBER_FT_TIMEOUT 5 #define NDPI_SOULSEEK_CONNECTION_IP_TICK_TIMEOUT 600 +#include "ndpi_config.h" /* To have access to NDPI_ENABLE_DEBUG_MESSAGES */ + #ifdef NDPI_ENABLE_DEBUG_MESSAGES #define NDPI_LOG(proto, m, log_level, args...) \ { \ @@ -196,7 +198,7 @@ */ #ifndef NDPI_CURRENT_PROTO - #define NDPI_CURRENT_PROTO NDPI_PROTO_UNKNOWN + #define NDPI_CURRENT_PROTO NDPI_PROTOCOL_UNKNOWN #endif #define NDPI_LOG_ERR(mod, args...) \ |