Additional log message about failed try_mac()

This commit is contained in:
thorkill 2016-05-20 21:12:18 +02:00
parent fca59a36de
commit 44c065ba26

View file

@ -1397,8 +1397,10 @@ static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) {
hard = true;
}
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);
continue;
}
match = n;
break;