]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_key.c
Move node_tree to mesh->nodes.
[meshlink] / src / protocol_key.c
index ef182b346ad07d40c297607133ad77245f81f39e..c490a8d215bab845a19a07884e645a9a34aaf7d9 100644 (file)
@@ -40,7 +40,7 @@ void send_key_changed(void) {
 
        /* Force key exchange for connections using SPTPS */
 
-       for splay_each(node_t, n, node_tree)
+       for splay_each(node_t, n, mesh->nodes)
                if(n->status.reachable && n->status.validkey)
                        sptps_force_kex(&n->sptps);
 }