Compilation fix
This commit is contained in:
@@ -852,7 +852,7 @@ extern "C" {
|
|||||||
//void * ndpi_malloc(size_t size);
|
//void * ndpi_malloc(size_t size);
|
||||||
//void * ndpi_calloc(unsigned long count, size_t size);
|
//void * ndpi_calloc(unsigned long count, size_t size);
|
||||||
//void ndpi_free(void *ptr);
|
//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 */
|
/* 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,
|
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
@@ -6544,7 +6544,7 @@ void NDPI_DUMP_BITMASK(NDPI_PROTOCOL_BITMASK a) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int ndpi_get_api_version() {
|
u_int16_t ndpi_get_api_version() {
|
||||||
return(NDPI_API_VERSION);
|
return(NDPI_API_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user