Fix split on preset domain list

This commit is contained in:
Vadim Vetrov
2024-09-28 23:06:45 +03:00
parent 666b3575fc
commit 9dc40bbdf1
4 changed files with 13 additions and 17 deletions

13
args.c
View File

@@ -385,18 +385,7 @@ int parse_args(int argc, char *argv[]) {
config.fake_custom_pkt_sz = custom_len;
config.fake_custom_pkt = (char *)custom_buf;
// if (strcmp(optarg, "default") == 0) {
// config.fake_sni_type = FAKE_PAYLOAD_DEFAULT;
// } else if (strcmp(optarg, "random") == 0) {
// config.fake_sni_type = FAKE_PAYLOAD_RANDOM;
// } else if (strcmp(optarg, "custom") == 0) {
// config.fake_sni_type = FAKE_PAYLOAD_CUSTOM;
// } else {
// goto invalid_opt;
// }
//
}
}
break;
case OPT_FK_WINSIZE:
num = parse_numeric_option(optarg);