fix --sni-domains=all

This commit is contained in:
Vadim Vetrov 2024-08-11 21:34:21 +03:00 committed by GitHub
parent 8ca048d9fd
commit 05648cc7c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,7 +149,7 @@ static int parse_args(int argc, char *argv[]) {
config.use_gso = 0; config.use_gso = 0;
break; break;
case OPT_SNI_DOMAINS: case OPT_SNI_DOMAINS:
if (strcmp(optarg, "all")) { if (!strcmp(optarg, "all")) {
config.all_domains = 1; config.all_domains = 1;
} }
config.domains_str = optarg; config.domains_str = optarg;