Skip to content

Commit 67629fb

Browse files
committed
Disable auto-ttl if set-ttl has been used after auto-ttl
1 parent 27a6d25 commit 67629fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/goodbyedpi.c

+1
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ int main(int argc, char *argv[]) {
807807
do_allow_no_sni = 1;
808808
break;
809809
case '$': // --set-ttl
810+
do_auto_ttl = auto_ttl_1 = auto_ttl_2 = auto_ttl_max = 0;
810811
do_fake_packet = 1;
811812
ttl_of_fake_packet = atoub(optarg, "Set TTL parameter error!");
812813
break;

0 commit comments

Comments
 (0)