aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/bjnp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/bjnp.c')
-rw-r--r--src/lib/protocols/bjnp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/protocols/bjnp.c b/src/lib/protocols/bjnp.c
index bf7e24b75..91277ecda 100644
--- a/src/lib/protocols/bjnp.c
+++ b/src/lib/protocols/bjnp.c
@@ -6,8 +6,7 @@
#include "ndpi_private.h"
static void ndpi_int_bjnp_add_connection(struct ndpi_detection_module_struct *ndpi_struct,
- struct ndpi_flow_struct *flow,
- u_int8_t due_to_correlation) {
+ struct ndpi_flow_struct *flow) {
ndpi_set_detected_protocol(ndpi_struct, flow,
NDPI_PROTOCOL_BJNP, NDPI_PROTOCOL_UNKNOWN, NDPI_CONFIDENCE_DPI);
}
@@ -25,7 +24,7 @@ static void ndpi_check_bjnp(struct ndpi_detection_module_struct *ndpi_struct, st
|| (memcmp((const char *)packet->payload, "MFNP", 4) == 0)
) {
NDPI_LOG_INFO(ndpi_struct, "found bjnp\n");
- ndpi_int_bjnp_add_connection(ndpi_struct, flow, 0);
+ ndpi_int_bjnp_add_connection(ndpi_struct, flow);
return;
}
}