diff options
author | marius <marius@FreeBSD.org> | 2010-09-24 14:44:04 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-09-24 14:44:04 +0000 |
commit | 59060ff14e0dc0d4fb91766b662dfddf5c007feb (patch) | |
tree | bce13a12648194fa18c62e30615c8a2f5ba93845 /libexec | |
parent | d658ddc7c7924a861425fc3baf2c691390228d4a (diff) | |
download | FreeBSD-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.c | 1 |
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); } |