summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-09-24 14:44:04 +0000
committermarius <marius@FreeBSD.org>2010-09-24 14:44:04 +0000
commit59060ff14e0dc0d4fb91766b662dfddf5c007feb (patch)
treebce13a12648194fa18c62e30615c8a2f5ba93845 /libexec
parentd658ddc7c7924a861425fc3baf2c691390228d4a (diff)
downloadFreeBSD-src-59060ff14e0dc0d4fb91766b662dfddf5c007feb.zip
FreeBSD-src-59060ff14e0dc0d4fb91766b662dfddf5c007feb.tar.gz
Remove the duplicate logging of failed read requests, whose error message
also was inappropriate as it triggered for every EACCESS and ENOTFOUND, not just the case the -n option is intended to deal with and thus really spammed us with ~20 messages in the default configuration when booting a diskless FreeBSD client, introduced with r207608 again. MFC after: 1 week
Diffstat (limited to 'libexec')
-rw-r--r--libexec/tftpd/tftpd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c
index 33911ec..16702b7 100644
--- a/libexec/tftpd/tftpd.c
+++ b/libexec/tftpd/tftpd.c
@@ -604,7 +604,6 @@ tftp_rrq(int peer, char *recvbuffer, ssize_t size)
*/
if (suppress_naks && *filename != '/' && ecode == ENOTFOUND)
exit(0);
- tftp_log(LOG_ERR, "Prevent NAK storm");
send_error(peer, ecode);
exit(1);
}
OpenPOWER on IntegriCloud