Skip to content

Commit

Permalink
Disable auto-ttl if set-ttl has been used after auto-ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdikSS committed Mar 31, 2022
1 parent 27a6d25 commit 67629fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/goodbyedpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 67629fb

Please sign in to comment.