Always send MTU probes at least once every PingInterval.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 2 Jan 2011 14:02:23 +0000 (15:02 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 2 Jan 2011 14:02:23 +0000 (15:02 +0100)
commitf99661a4ca5bacff47239ce7978b9c9948917c54
treec551114c5ed5a3f2288e5e088f1d35a0f303c789
parentcac0a5c651535e8317839b0deff1ee98086a8184
Always send MTU probes at least once every PingInterval.

Before, if MTU probes failed, tinc would stop sending probes until the next
time keys were regenerated (by default, once every hour).  Now it continues to
send them every PingInterval, so it recovers faster from temporary failures.
src/net_packet.c
src/protocol_key.c