Move detection of PMTU decrease to try_mtu().
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 11 Jan 2015 14:38:56 +0000 (15:38 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 11 Jan 2015 14:38:56 +0000 (15:38 +0100)
When we have fixed the PMTU, n->mtuprobes == -1. When we send MTU probes
when mtuprobes == -1, decrease mtuprobes, and reset it back to -1 in
mtu_probe_h(). If mtuprobes < -1, send MTU probes every second, until
mtuprobes <= -4, in which case we will restart MTU discovery.


No differences found