X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_packet.c;h=31c44771967a2d62f35da6c34eade0f4411cfc9d;hp=9f61275106fc596a5990d33627f3113f252e9efb;hb=de029ce46056e02908b5390da9b71a6a59133f26;hpb=36f8e4da8b1708474505f5a1fa8cf1ba848921de diff --git a/src/net_packet.c b/src/net_packet.c index 9f612751..31c44771 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -71,7 +71,7 @@ void send_mtu_probe(node_t *n) n->mtuevent = NULL; if(!n->status.reachable) { - ifdebug(TRAFFIC) logger(LOG_INFO, _("Trying to send MTU probe to unreachable node %s (%s)"), n->name, n->hostname); + logger(LOG_DEBUG, _("Trying to send MTU probe to unreachable node %s (%s)"), n->name, n->hostname); return; } @@ -552,7 +552,8 @@ void handle_incoming_vpn_data(int sock) pkt.len = recvfrom(sock, (char *) &pkt.seqno, MAXSIZE, 0, &from.sa, &fromlen); if(pkt.len < 0) { - logger(LOG_ERR, _("Receiving packet failed: %s"), strerror(errno)); + if(errno != EAGAIN && errno != EINTR) + logger(LOG_ERR, _("Receiving packet failed: %s"), strerror(errno)); return; }