Compilation fix

This commit is contained in:
Luca Deri
2020-03-27 08:46:03 +01:00
parent 890e8644ac
commit 0d223ada3f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -852,7 +852,7 @@ extern "C" {
//void * ndpi_malloc(size_t size);
//void * ndpi_calloc(unsigned long count, size_t size);
//void ndpi_free(void *ptr);
int ndpi_get_api_version(void);
u_int16_t ndpi_get_api_version(void);
/* https://github.com/corelight/community-id-spec */
int ndpi_flowv4_flow_hash(u_int8_t l4_proto, u_int32_t src_ip, u_int32_t dst_ip, u_int16_t src_port, u_int16_t dst_port,
+1 -1
View File
@@ -6544,7 +6544,7 @@ void NDPI_DUMP_BITMASK(NDPI_PROTOCOL_BITMASK a) {
}
#endif
int ndpi_get_api_version() {
u_int16_t ndpi_get_api_version() {
return(NDPI_API_VERSION);
}