X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol_auth.c;fp=src%2Fprotocol_auth.c;h=3720e14abc64c0bf9eeb7cf71fcb927feb55f691;hp=2154faae09cce7cf9a305464561eaf2e9adb507f;hb=d78e24a1f77084f2395b7f344533fc1819b0b3b0;hpb=c9d86e1054b888c2b0223925db531ff9831b01cc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 2154faae..3720e14a 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -389,6 +389,7 @@ bool ack_h(meshlink_handle_t *mesh, connection_t *c, const char *request) { c->edge->weight = mesh->dev_class_traits[devclass].edge_weight; c->edge->connection = c; + node_add_recent_address(mesh, n, &c->address); edge_add(mesh, c->edge); /* Notify everyone of the new edge */