X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fdiscovery.c;h=db71a5d15a47034d100745eda2a395c8b8310721;hb=72fe3cdc361b933d8a471902b073378cbed6273d;hp=2a74cc35bd22a5ef321bc68ce80ff0f50b521143;hpb=4c57e6902219ecca1872e18e34365d8e54a0f407;p=meshlink diff --git a/src/discovery.c b/src/discovery.c index 2a74cc35..db71a5d1 100644 --- a/src/discovery.c +++ b/src/discovery.c @@ -251,6 +251,7 @@ static void discovery_resolve_callback(CattaSServiceResolver *resolver, CattaIfI node_t *n = (node_t *)node; connection_t *c = n->connection; + n->catta_address = naddress; node_add_recent_address(mesh, n, &naddress); if(c && c->outgoing && !c->status.active) {