Don't send UDP probes past static relays.

Ironically, commit 0f8e2cc78c introduced
a regression on its own, since it accidently removed a return statement
that prevented try_tx_sptps() from sending UDP/MTU probes to nodes that
are past static relays.
This commit is contained in:
Etienne Dechamps 2015-03-14 14:04:50 +00:00
parent 6568cffd52
commit fa432426df

View file

@ -1137,7 +1137,7 @@ static void try_tx_sptps(node_t *n, bool mtu) {
/* If we do have a static relay, try everything with that one instead. */
if(via != n)
try_tx_sptps(via, mtu);
return try_tx_sptps(via, mtu);
/* Otherwise, try to establish UDP connectivity. */