From 37c128580a8ba91d12611b6669dd3ffbb605ee9d Mon Sep 17 00:00:00 2001 From: thorkill Date: Wed, 25 May 2016 20:29:13 +0200 Subject: [PATCH] Remove debug output from try_harder() --- src/net_packet.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/net_packet.c b/src/net_packet.c index 73daf6b1..3c21c6d1 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1401,12 +1401,8 @@ static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) { hard = true; } - if(!try_mac(n, pkt)) { - 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); + if(!try_mac(n, pkt)) continue; - } match = n; break;