aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/websocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/websocket.c')
-rw-r--r--src/lib/protocols/websocket.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/protocols/websocket.c b/src/lib/protocols/websocket.c
index a6c566ac1..bfa754536 100644
--- a/src/lib/protocols/websocket.c
+++ b/src/lib/protocols/websocket.c
@@ -110,10 +110,9 @@ void ndpi_search_websocket(struct ndpi_detection_module_struct *ndpi_struct, str
/* ********************************* */
-void init_websocket_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id,
- NDPI_PROTOCOL_BITMASK *detection_bitmask)
+void init_websocket_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id)
{
- ndpi_set_bitmask_protocol_detection("WEBSOCKET", ndpi_struct, detection_bitmask, *id, NDPI_PROTOCOL_WEBSOCKET,
+ ndpi_set_bitmask_protocol_detection("WEBSOCKET", ndpi_struct, *id, NDPI_PROTOCOL_WEBSOCKET,
ndpi_search_websocket, NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_TCP_WITH_PAYLOAD_WITHOUT_RETRANSMISSION,
SAVE_DETECTION_BITMASK_AS_UNKNOWN, ADD_TO_DETECTION_BITMASK);