Fixes after merge with guus/1.1

This commit is contained in:
thorkill 2016-05-08 16:14:20 +02:00
parent e6b85158f0
commit 08f1fd2f8d
2 changed files with 3 additions and 3 deletions

View file

@ -547,7 +547,7 @@ begin:
/* Now that there is a working socket, fill in the rest and register this connection. */
c->last_ping_time = time(NULL);
c->last_ping_time = now;
c->status.connecting = true;
c->name = xstrdup(outgoing->name);
#ifndef DISABLE_LEGACY

View file

@ -172,9 +172,9 @@ void update_node_udp(node_t *n, const sockaddr_t *sa) {
free(n->hostname);
n->hostname = sockaddr2hostname(&n->address);
logger(DEBUG_PROTOCOL, LOG_DEBUG, "UDP address of %s set to %s", n->name, n->hostname);
n->status.has_known_address = true;
n->status.has_address = true;
} else {
n->status.has_known_address = false;
n->status.has_address = false;
}
/* invalidate UDP information - note that this is a security feature as well to make sure