aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/pplive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/pplive.c')
-rw-r--r--src/lib/protocols/pplive.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/protocols/pplive.c b/src/lib/protocols/pplive.c
index 796bfd633..c645f0d1b 100644
--- a/src/lib/protocols/pplive.c
+++ b/src/lib/protocols/pplive.c
@@ -220,12 +220,14 @@ void ndpi_search_pplive(struct ndpi_detection_module_struct *ndpi_struct, struct
void init_pplive_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
{
- ndpi_set_bitmask_protocol_detection("PPLIVE", ndpi_struct, detection_bitmask, *id++,
+ ndpi_set_bitmask_protocol_detection("PPLIVE", ndpi_struct, detection_bitmask, *id,
NDPI_PROTOCOL_PPLIVE,
ndpi_search_pplive,
NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_UDP,
SAVE_DETECTION_BITMASK_AS_UNKNOWN,
ADD_TO_DETECTION_BITMASK);
+
+ *id += 1;
}
#endif