mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
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
This commit is contained in:
parent
5f6bf4518d
commit
4511088221
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213102
@ -604,7 +604,6 @@ tftp_rrq(int peer, char *recvbuffer, ssize_t size)
|
|||||||
*/
|
*/
|
||||||
if (suppress_naks && *filename != '/' && ecode == ENOTFOUND)
|
if (suppress_naks && *filename != '/' && ecode == ENOTFOUND)
|
||||||
exit(0);
|
exit(0);
|
||||||
tftp_log(LOG_ERR, "Prevent NAK storm");
|
|
||||||
send_error(peer, ecode);
|
send_error(peer, ecode);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user