aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/can.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/can.c')
-rw-r--r--src/lib/protocols/can.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/can.c b/src/lib/protocols/can.c
index 0f1e1e243..fc12866a8 100644
--- a/src/lib/protocols/can.c
+++ b/src/lib/protocols/can.c
@@ -67,7 +67,7 @@ static void ndpi_search_can(struct ndpi_detection_module_struct *ndpi_struct,
ndpi_int_can_add_connection(ndpi_struct, flow);
if (can_header->version != 0x01) {
- ndpi_set_risk(flow, NDPI_MALFORMED_PACKET, "Invalid CAN Header");
+ ndpi_set_risk(ndpi_struct, flow, NDPI_MALFORMED_PACKET, "Invalid CAN Header");
}
}