]> git.meshlink.io Git - meshlink/blobdiff - src/pmtu.c
Don't send UDP probes to tiny nodes.
[meshlink] / src / pmtu.c
index 0d5e8fd528ba59821ce43ed10bba555104924685..179d89665ef3d41a46a099e6a9d14538c2249442 100644 (file)
@@ -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;
        }