aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/slp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/slp.c')
-rw-r--r--src/lib/protocols/slp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/slp.c b/src/lib/protocols/slp.c
index e7fd6b105..81c1cabd9 100644
--- a/src/lib/protocols/slp.c
+++ b/src/lib/protocols/slp.c
@@ -285,7 +285,7 @@ static void ndpi_dissect_slp_v2(struct ndpi_detection_module_struct *ndpi_struct
}
} else if (url_entry_count_offset > 0 && packet->payload_packet_len > sizeof(*hdr) + url_entry_count_offset + 2) {
if (slp_dissect_url_entries(ndpi_struct, flow, sizeof(*hdr) + url_entry_count_offset) != 0) {
- ndpi_set_risk(flow, NDPI_MALFORMED_PACKET, "Invalid URL entries");
+ ndpi_set_risk(ndpi_struct, flow, NDPI_MALFORMED_PACKET, "Invalid URL entries");
}
} else if (packet->payload_packet_len > sizeof(*hdr) + url_offset + 2) {
url_length_or_count = ntohs(*(uint16_t *)&packet->payload[sizeof(*hdr) + url_offset]); // FID_SrvReg or FID_SrvDeReg