Fix print_args errors

This commit is contained in:
Vadim Vetrov 2024-12-19 03:08:39 +03:00
parent 3a1deb054a
commit 6568aa37f2
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5

6
args.c
View File

@ -876,10 +876,10 @@ static size_t print_config_section(const struct section_config_t *section, char
switch(section->sni_detection) { switch(section->sni_detection) {
case SNI_DETECTION_BRUTE: case SNI_DETECTION_BRUTE:
print_cnf_buf("--sni_detection=brute"); print_cnf_buf("--sni-detection=brute");
break; break;
case SNI_DETECTION_PARSE: case SNI_DETECTION_PARSE:
print_cnf_buf("--sni_detection=parse"); print_cnf_buf("--sni-detection=parse");
break; break;
} }
@ -899,7 +899,7 @@ static size_t print_config_section(const struct section_config_t *section, char
if (section->udp_filter_quic == UDP_FILTER_QUIC_ALL && section->udp_mode == UDP_MODE_DROP) { if (section->udp_filter_quic == UDP_FILTER_QUIC_ALL && section->udp_mode == UDP_MODE_DROP) {
print_cnf_buf("--drop-quic"); print_cnf_buf("--quic-drop");
} }
switch(section->udp_filter_quic) { switch(section->udp_filter_quic) {