diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-01-06 16:53:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 16:53:29 +0100 |
commit | bf830b4236132b1100fb9c4863a737fb53eb669f (patch) | |
tree | 553dcba7218a50c247baa182d8c294fbc297e198 /src/lib/protocols/tivoconnect.c | |
parent | c3d19be26f8a437fbfc3fbae14d13c260cbe77d7 (diff) |
Add the ability to enable/disable every specific flow risks (#2653)
Diffstat (limited to 'src/lib/protocols/tivoconnect.c')
-rw-r--r-- | src/lib/protocols/tivoconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/tivoconnect.c b/src/lib/protocols/tivoconnect.c index 208e3f8ae..4bfd041e9 100644 --- a/src/lib/protocols/tivoconnect.c +++ b/src/lib/protocols/tivoconnect.c @@ -55,7 +55,7 @@ static void dissect_tivoconnect_data(struct ndpi_detection_module_struct *ndpi_s if (value == NULL) { - ndpi_set_risk(flow, NDPI_MALFORMED_PACKET, "Missing value type in TiViConnect beacon"); + ndpi_set_risk(ndpi_struct, flow, NDPI_MALFORMED_PACKET, "Missing value type in TiViConnect beacon"); continue; } value++; @@ -108,7 +108,7 @@ static void dissect_tivoconnect_data(struct ndpi_detection_module_struct *ndpi_s if ((size_t)(key - payload) != payload_len) { - ndpi_set_risk(flow, NDPI_MALFORMED_PACKET, + ndpi_set_risk(ndpi_struct, flow, NDPI_MALFORMED_PACKET, "TiViConnect beacon malformed packet"); } } |