From 67629fb6ef8c2a861bdc279bca8e36ab784050dd Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Thu, 31 Mar 2022 12:14:03 +0300 Subject: [PATCH] Disable auto-ttl if set-ttl has been used after auto-ttl --- src/goodbyedpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index f204fd0..46edaad 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -807,6 +807,7 @@ int main(int argc, char *argv[]) { do_allow_no_sni = 1; break; case '$': // --set-ttl + do_auto_ttl = auto_ttl_1 = auto_ttl_2 = auto_ttl_max = 0; do_fake_packet = 1; ttl_of_fake_packet = atoub(optarg, "Set TTL parameter error!"); break;