nfqws: fix custom tls fake fallback logic

This commit is contained in:
bol-van 2025-03-21 19:09:37 +03:00
parent 1b880d42f9
commit 770be21e1c

View File

@ -2044,6 +2044,7 @@ int main(int argc, char **argv)
break; break;
case 39: /* dpi-desync-fake-tls */ case 39: /* dpi-desync-fake-tls */
load_blob_to_collection(optarg, &dp->fake_tls, FAKE_MAX_TCP,4); load_blob_to_collection(optarg, &dp->fake_tls, FAKE_MAX_TCP,4);
dp->fake_tls_mod |= FAKE_TLS_MOD_CUSTOM_FAKE;
break; break;
case 40: /* dpi-desync-fake-tls-mod */ case 40: /* dpi-desync-fake-tls-mod */
if (!parse_tlsmod_list(optarg,&dp->fake_tls_mod)) if (!parse_tlsmod_list(optarg,&dp->fake_tls_mod))