From a6f1754f23fe93b3dbdd809de2d2d1c900241fec Mon Sep 17 00:00:00 2001 From: marius Date: Mon, 4 Oct 2010 20:02:48 +0000 Subject: [PATCH] MFC: r213102 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 (commited to stable/8 in 213038) again. git-svn-id: svn://svn.freebsd.org/base/stable/8@213419 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- libexec/tftpd/tftpd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index 33911ec48..16702b70c 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); } -- 2.45.0