aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/modbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/modbus.c')
-rw-r--r--src/lib/protocols/modbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/modbus.c b/src/lib/protocols/modbus.c
index cd6d55dec..867bfa166 100644
--- a/src/lib/protocols/modbus.c
+++ b/src/lib/protocols/modbus.c
@@ -47,7 +47,7 @@ void ndpi_search_modbus_tcp(struct ndpi_detection_module_struct *ndpi_struct,
// the fourth parameter of the payload is the length of the segment
if((modbus_len-1) == (packet->payload_packet_len - 7 /* ModbusTCP header len */)) {
NDPI_LOG_INFO(ndpi_struct, "found MODBUS\n");
- ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MODBUS, NDPI_PROTOCOL_UNKNOWN);
+ ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MODBUS, NDPI_PROTOCOL_UNKNOWN, NDPI_CONFIDENCE_DPI);
return;
}
}