mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-12-22 22:35:58 +00:00
Disable auto-ttl if set-ttl has been used after auto-ttl
This commit is contained in:
parent
27a6d256f0
commit
67629fb6ef
@ -807,6 +807,7 @@ int main(int argc, char *argv[]) {
|
|||||||
do_allow_no_sni = 1;
|
do_allow_no_sni = 1;
|
||||||
break;
|
break;
|
||||||
case '$': // --set-ttl
|
case '$': // --set-ttl
|
||||||
|
do_auto_ttl = auto_ttl_1 = auto_ttl_2 = auto_ttl_max = 0;
|
||||||
do_fake_packet = 1;
|
do_fake_packet = 1;
|
||||||
ttl_of_fake_packet = atoub(optarg, "Set TTL parameter error!");
|
ttl_of_fake_packet = atoub(optarg, "Set TTL parameter error!");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user