From 29eb89a88ff4ab3a5b19f102bf81461ed026a387 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 25 Mar 2025 21:35:01 +0100 Subject: Improved configuration to enable/disable export of flow risk info (#2780) Follow-up of f56831336334dddcff00eaf2132e5e0f226f0e32: now the configuration is for flow-risk, not global --- src/lib/protocols/quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols/quic.c') diff --git a/src/lib/protocols/quic.c b/src/lib/protocols/quic.c index e19e1b27a..b63df5d87 100644 --- a/src/lib/protocols/quic.c +++ b/src/lib/protocols/quic.c @@ -1468,7 +1468,7 @@ void process_chlo(struct ndpi_detection_module_struct *ndpi_struct, if(ndpi_is_valid_hostname((char *)&crypto_data[tag_offset_start + prev_offset], len) == 0) { - if(ndpi_struct->cfg.flow_risk_infos_enabled) { + if(is_flowrisk_info_enabled(ndpi_struct, NDPI_INVALID_CHARACTERS)) { char str[128]; snprintf(str, sizeof(str), "Invalid host %s", flow->host_server_name); -- cgit v1.2.3