From 05648cc7c206c2cb1002ad6e960763add4a66816 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Sun, 11 Aug 2024 21:34:21 +0300 Subject: [PATCH] fix --sni-domains=all --- youtubeUnblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtubeUnblock.c b/youtubeUnblock.c index dbf04e3..33296ea 100644 --- a/youtubeUnblock.c +++ b/youtubeUnblock.c @@ -149,7 +149,7 @@ static int parse_args(int argc, char *argv[]) { config.use_gso = 0; break; case OPT_SNI_DOMAINS: - if (strcmp(optarg, "all")) { + if (!strcmp(optarg, "all")) { config.all_domains = 1; } config.domains_str = optarg;