projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
a588f6f
)
Fix DecrementTTL option.
author
Vittorio Gambaletta (VittGam)
<github@vittgam.net>
Thu, 3 Sep 2015 14:02:50 +0000
(16:02 +0200)
committer
Vittorio Gambaletta (VittGam)
<github@vittgam.net>
Thu, 3 Sep 2015 14:02:50 +0000
(16:02 +0200)
The option was not actually working, as it could be seen on traceroute or mtr.
The problem is that it was checking if the TTL was < 1 (so equal to 0) before decrementing it.
This meant that a packet with a TTL of 1 was being sent with a TTL of 0 on the VPN, instead of being discarded with the ICMP error message.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
No differences found