From a4dcda16c151257ceb5a05b54c26e1fdf01db068 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Wed, 7 Jul 2021 22:53:01 +0200 Subject: [PATCH] LttP: update SNI handling to v34 --- LttPClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LttPClient.py b/LttPClient.py index 56670d12..83cf5273 100644 --- a/LttPClient.py +++ b/LttPClient.py @@ -414,7 +414,7 @@ def launch_sni(ctx: Context): sni_path = Utils.local_path(sni_path) if os.path.isdir(sni_path): for file in os.listdir(sni_path): - if file.startswith("sni-v"): + if file.startswith("sni.") and not file.endswith(".proto"): sni_path = os.path.join(sni_path, file) if os.path.isfile(sni_path):