diff options
Diffstat (limited to 'foolsm.c')
| -rw-r--r-- | foolsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1225,7 +1225,7 @@ static int ping_rcv(CONFIG *first, char *buf, int len, struct sockaddr_in6 *sadd n = recvfrom(t->sock, buf, len, 0, (struct sockaddr *)saddr, slen); if(n < 0) { - syslog(LOG_INFO, "recvfrom failed with %s \"%s\"\n", cur->name, strerror(errno)); + if(cfg.debug >= 9) syslog(LOG_INFO, "recvfrom failed with connection %s \"%s\", n = %d, errno = %d", cur->name, strerror(errno), n, errno); close(t->sock); t->sock = -1; return(0); |
