From 8fbbaf7fcb2f0056a124e5cbd1a887c6b2eb1aca Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Thu, 21 Oct 2021 06:43:42 +0200 Subject: [PATCH] LttPClient: try to find linux SNI executable --- LttPClient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LttPClient.py b/LttPClient.py index a9c1d1c2..da9482e4 100644 --- a/LttPClient.py +++ b/LttPClient.py @@ -438,7 +438,8 @@ 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.") and not file.endswith(".proto"): + lower_file = file.lower() + if (lower_file.startswith("sni.") and not lower_file.endswith(".proto")) or lower_file == "sni": sni_path = os.path.join(sni_path, file) if os.path.isfile(sni_path):