diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-03-25 21:35:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-25 21:35:01 +0100 |
commit | 29eb89a88ff4ab3a5b19f102bf81461ed026a387 (patch) | |
tree | 2fe71d07117d1525f4e526a4960a3e4591c0395d /src/lib/protocols/quic.c | |
parent | c9ae313bd82e655f805043ced2547771fa1b093e (diff) |
Improved configuration to enable/disable export of flow risk info (#2780)
Follow-up of f56831336334dddcff00eaf2132e5e0f226f0e32: now the
configuration is for flow-risk, not global
Diffstat (limited to 'src/lib/protocols/quic.c')
-rw-r--r-- | src/lib/protocols/quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |