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/?a=commitdiff_plain;h=968466bc56c33b30fea6e30d14488e31f7ac85ae;hp=e57f522ee2fef5a229a59f8fa08f94555fe3ec32;p=meshlink 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; }