Fixes after merge with guus/1.1
This commit is contained in:
parent
e6b85158f0
commit
08f1fd2f8d
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue