X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_packet.c;h=245ce62dcb7bbc6eb34037a884b1a9314af24df2;hb=f500a3d4e6e51ea1d88235e89e494ecb8f71ba5b;hp=2e47df40f618d6c5e8affa251798295d835eeb82;hpb=b1421b919090351e885ed3d06df67fb2eb69e765;p=tinc diff --git a/src/net_packet.c b/src/net_packet.c index 2e47df40..245ce62d 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1135,7 +1135,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. */