X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=2d5990e32c32e053093e590e38d9e0dfe2ca1280;hb=528a8616e36ff08ddf1f9f16f748a272e48846be;hp=14686ac903b1c5d9b1c0e9af186c9f5aa34c1035;hpb=a7ef599e6bdd8730c5a949d4c1727c38d5b6ff9e;p=meshlink diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 14686ac9..2d5990e3 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -394,7 +394,7 @@ static void send_everything(connection_t *c) { send_tcppacket(c, &zeropkt.pkt); } - for splay_each(node_t, n, node_tree) { + for splay_each(node_t, n, mesh->nodes) { for splay_each(edge_t, e, n->edge_tree) send_add_edge(c, e); }