aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/cpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/cpha.c')
-rw-r--r--src/lib/protocols/cpha.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/protocols/cpha.c b/src/lib/protocols/cpha.c
index d1dcc6f66..5874b0f9e 100644
--- a/src/lib/protocols/cpha.c
+++ b/src/lib/protocols/cpha.c
@@ -51,9 +51,8 @@ void ndpi_search_cpha(struct ndpi_detection_module_struct *ndpi_struct, struct n
}
-void init_cpha_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id,
- NDPI_PROTOCOL_BITMASK *detection_bitmask) {
- ndpi_set_bitmask_protocol_detection("CPHA", ndpi_struct, detection_bitmask, *id,
+void init_cpha_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id) {
+ ndpi_set_bitmask_protocol_detection("CPHA", ndpi_struct, *id,
NDPI_PROTOCOL_CPHA,
ndpi_search_cpha,
NDPI_SELECTION_BITMASK_PROTOCOL_UDP_WITH_PAYLOAD, /* TODO: ipv6 support? */