aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/florensia.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/florensia.c')
-rw-r--r--src/lib/protocols/florensia.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/protocols/florensia.c b/src/lib/protocols/florensia.c
index feeb49e7a..80c64dcda 100644
--- a/src/lib/protocols/florensia.c
+++ b/src/lib/protocols/florensia.c
@@ -122,12 +122,14 @@ void ndpi_search_florensia(struct ndpi_detection_module_struct *ndpi_struct, str
void init_florensia_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
{
- ndpi_set_bitmask_protocol_detection("FLORENSIA", ndpi_struct, detection_bitmask, *id++,
+ ndpi_set_bitmask_protocol_detection("FLORENSIA", ndpi_struct, detection_bitmask, *id,
NDPI_PROTOCOL_FLORENSIA,
ndpi_search_florensia,
NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_TCP_OR_UDP_WITH_PAYLOAD_WITHOUT_RETRANSMISSION,
SAVE_DETECTION_BITMASK_AS_UNKNOWN,
ADD_TO_DETECTION_BITMASK);
+
+ *id += 1;
}
#endif