diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_api.h | 2 | ||||
-rw-r--r-- | src/include/ndpi_typedefs.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 84633c3ae..6e0e4787b 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -612,7 +612,7 @@ extern "C" { * */ int ndpi_load_protocols_file(struct ndpi_detection_module_struct *ndpi_mod, - char* path); + const char* path); /** * Get the total number of the supported protocols diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index fc80a675b..03f7bf6c3 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -360,6 +360,7 @@ typedef enum { NDPI_HTTP_METHOD_OPTIONS, NDPI_HTTP_METHOD_GET, NDPI_HTTP_METHOD_HEAD, + NDPI_HTTP_METHOD_PATCH, NDPI_HTTP_METHOD_POST, NDPI_HTTP_METHOD_PUT, NDPI_HTTP_METHOD_DELETE, |