Add information about sending address in try_harder()
This commit is contained in:
parent
e60657765c
commit
b7fe5910d6
1 changed files with 3 additions and 1 deletions
|
@ -1398,7 +1398,9 @@ static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!try_mac(n, pkt)) {
|
if(!try_mac(n, pkt)) {
|
||||||
logger(DEBUG_ALWAYS, LOG_ERR, "try_mac(): for %s failed - previous log messages may be misleading", n->name);
|
char *hostname = sockaddr2hostname(from);
|
||||||
|
logger(DEBUG_ALWAYS, LOG_ERR, "try_mac(): from %s for %s failed - previous log messages may be misleading", hostname, n->name);
|
||||||
|
free(hostname);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue