diff options
author | Vitaly Lavrov <vel21ripn@gmail.com> | 2018-02-07 16:05:51 +0300 |
---|---|---|
committer | Vitaly Lavrov <vel21ripn@gmail.com> | 2018-02-07 16:31:35 +0300 |
commit | 0624afd422b7fbdd2b481a299ac9bf62fa9ec706 (patch) | |
tree | ee08225837108d2d5f34f73cbbb1ca971ee73fe9 /src/lib/protocols/non_tcp_udp.c | |
parent | ea74d87fd8b386228cd222b7f880b3c96d9b5a67 (diff) |
Added option --enable-debug-messages.
The configurator option "--enable-debug-messages" is added to enable
debug information output (define NDPI_ENABLE_DEBUG_MESSAGES=1).
Mandatory inclusion of the file ndpi_config.h in all the compiled files.
Diffstat (limited to 'src/lib/protocols/non_tcp_udp.c')
-rw-r--r-- | src/lib/protocols/non_tcp_udp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/protocols/non_tcp_udp.c b/src/lib/protocols/non_tcp_udp.c index fa3163e74..a2e0d81f5 100644 --- a/src/lib/protocols/non_tcp_udp.c +++ b/src/lib/protocols/non_tcp_udp.c @@ -23,10 +23,12 @@ */ -#include "ndpi_protocols.h" +#include "ndpi_protocol_ids.h" #if defined(NDPI_PROTOCOL_IP_IPSEC) || defined(NDPI_PROTOCOL_IP_GRE) || defined(NDPI_PROTOCOL_IP_ICMP) || defined(NDPI_PROTOCOL_IP_IGMP) || defined(NDPI_PROTOCOL_IP_EGP) || defined(NDPI_PROTOCOL_IP_SCTP) || defined(NDPI_PROTOCOL_IP_OSPF) || defined(NDPI_PROTOCOL_IP_IP_IN_IP) +#include "ndpi_api.h" + #define set_protocol_and_bmask(nprot) \ { \ if (NDPI_COMPARE_PROTOCOL_TO_BITMASK(ndpi_struct->detection_bitmask,nprot) != 0) \ |