diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2024-01-09 19:56:28 +0100 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-01-18 10:21:24 +0100 |
commit | 311d8b6daed7703678c25ed4b7249db1c6bbc556 (patch) | |
tree | 59fe1547b8a4b77f8d0651ff8c0767bd5421bb55 /src/lib/protocols/ftp_control.c | |
parent | 4cbe2674abd5a9641017a8c4ceb82f8449bf0119 (diff) |
config: move cfg of aggressiviness and opportunistic TLS to the new API
Diffstat (limited to 'src/lib/protocols/ftp_control.c')
-rw-r--r-- | src/lib/protocols/ftp_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ftp_control.c b/src/lib/protocols/ftp_control.c index 40378a4c6..ce7903397 100644 --- a/src/lib/protocols/ftp_control.c +++ b/src/lib/protocols/ftp_control.c @@ -640,7 +640,7 @@ static void ndpi_check_ftp_control(struct ndpi_detection_module_struct *ndpi_str flow->l4.tcp.ftp_imap_pop_smtp.auth_tls == 0) { flow->ftp_control_stage = 0; } else if (flow->l4.tcp.ftp_imap_pop_smtp.auth_tls == 1 && - ndpi_struct->opportunistic_tls_ftp_enabled) { + ndpi_struct->cfg.ftp_opportunistic_tls_enabled) { flow->host_server_name[0] = '\0'; /* Remove any data set by other dissectors (eg. SMTP) */ /* Switch classification to FTPS */ ndpi_set_detected_protocol(ndpi_struct, flow, |