X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=573da14817126e6876bed2d15397f747adc2d815;hb=d02bbd19c40e977f019d2c8bc80fe57059946d6e;hp=5ee7a5f5e98e5b10495938e86d0d966e8a4bf5fa;hpb=1e3d251b5c65e49a1d4ed89d4154a1837ddd4f08;p=meshlink-tiny diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 5ee7a5f..573da14 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -196,7 +196,9 @@ bool ack_h(meshlink_handle_t *mesh, connection_t *c, const char *request) { mesh->meta_status_cb(mesh, (meshlink_node_t *)n, true); } - /* TODO: Create an edge_t for this connection, send it */ + send_add_edge(mesh, c, 0); + n->status.reachable = true; + update_node_status(mesh, c->node); /* Request a session key to jump start UDP traffic */