1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-04-21 06:22:57 +03:00

auto ttl alog minor fix

This commit is contained in:
bol-van 2024-03-02 21:22:35 +03:00
parent 1222eb96f5
commit 7ba1c28f94
10 changed files with 1 additions and 3 deletions
binaries
aarch64
arm
freebsd-x64
mips32r1-lsb
mips32r1-msb
mips64r2-msb
ppc
x86
x86_64
nfq

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1195,9 +1195,7 @@ uint8_t autottl_guess(uint8_t ttl, const autottl *attl)
path = orig - ttl;
if (path <=attl->delta) return 0;
fake = path - attl->delta;
fake = path > attl->delta ? path - attl->delta : attl->min;
if (fake<attl->min) fake=attl->min;
else if (fake>attl->max) fake=attl->max;