diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_main.h | 2 | ||||
-rw-r--r-- | src/include/ndpi_typedefs.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h index 35efaa0b9..66fb5ea1b 100644 --- a/src/include/ndpi_main.h +++ b/src/include/ndpi_main.h @@ -149,7 +149,7 @@ extern "C" { u_int8_t * nxt_hdr); void ndpi_set_risk(struct ndpi_detection_module_struct *ndpi_str, struct ndpi_flow_struct *flow, ndpi_risk_enum r); - int ndpi_is_printable_string(char const * const str, size_t len); + int ndpi_is_printable_string(char * const str, size_t len); #define NDPI_ENTROPY_ENCRYPTED_OR_RANDOM(entropy) (entropy > 7.0f) float ndpi_entropy(u_int8_t const * const buf, size_t len); void load_common_alpns(struct ndpi_detection_module_struct *ndpi_str); diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 642a60325..177a7610c 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -114,6 +114,7 @@ typedef enum { NDPI_CLEAR_TEXT_CREDENTIALS, NDPI_DNS_LARGE_PACKET, NDPI_DNS_FRAGMENTED, + NDPI_INVALID_CHARACTERS, /* Leave this as last member */ NDPI_MAX_RISK /* must be <= 63 due to (**) */ |