There was a possible situation where we did not remember the address of a
peer when there is only a TCP connection.
c->edge->weight = mesh->dev_class_traits[devclass].edge_weight;
c->edge->connection = c;
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 */
edge_add(mesh, c->edge);
/* Notify everyone of the new edge */