Fixed invalid ndpi_serialize_risk() prototype

This commit is contained in:
Luca Deri
2022-02-10 20:22:17 +01:00
parent 3b1c2d8793
commit 258fedbca0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1551,7 +1551,7 @@ extern "C" {
u_int8_t ndpi_is_protocol_detected(struct ndpi_detection_module_struct *ndpi_str, u_int8_t ndpi_is_protocol_detected(struct ndpi_detection_module_struct *ndpi_str,
ndpi_protocol proto); ndpi_protocol proto);
void ndpi_serialize_risk(ndpi_serializer *serializer, ndpi_risk_enum risk); void ndpi_serialize_risk(ndpi_serializer *serializer, ndpi_risk risk);
void ndpi_serialize_proto(struct ndpi_detection_module_struct *ndpi_struct, void ndpi_serialize_proto(struct ndpi_detection_module_struct *ndpi_struct,
ndpi_serializer *serializer, ndpi_risk_enum risk, ndpi_serializer *serializer, ndpi_risk_enum risk,
ndpi_protocol l7_protocol); ndpi_protocol l7_protocol);
+1 -1
View File
@@ -1106,7 +1106,7 @@ char* ndpi_base64_encode(unsigned char const* bytes_to_encode, size_t in_len) {
/* ********************************** */ /* ********************************** */
void ndpi_serialize_risk(ndpi_serializer *serializer, void ndpi_serialize_risk(ndpi_serializer *serializer,
ndpi_risk_enum risk) ndpi_risk risk)
{ {
u_int32_t i; u_int32_t i;