From: Guus Sliepen Date: Sun, 26 Sep 2021 22:20:25 +0000 (+0200) Subject: Don't send UDP probes to tiny nodes. X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=refs%2Fheads%2Ffeature%2Fbetter-pmtu-probes Don't send UDP probes to tiny nodes. --- diff --git a/src/pmtu.c b/src/pmtu.c index 0d5e8fd5..179d8966 100644 --- a/src/pmtu.c +++ b/src/pmtu.c @@ -410,7 +410,7 @@ static void try_pmtu(meshlink_handle_t *mesh, node_t *n) { */ void keepalive(meshlink_handle_t *mesh, node_t *n, bool traffic) { - if(!n->status.reachable || !n->status.validkey) { + if(!n->status.reachable || !n->status.validkey || n->status.tiny) { return; }