Author: marius
Date: Mon Oct  4 20:02:48 2010
New Revision: 213419
URL: http://svn.freebsd.org/changeset/base/213419

Log:
  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.

Modified:
  stable/8/libexec/tftpd/tftpd.c
Directory Properties:
  stable/8/libexec/tftpd/   (props changed)

Modified: stable/8/libexec/tftpd/tftpd.c
==============================================================================
--- stable/8/libexec/tftpd/tftpd.c      Mon Oct  4 19:59:11 2010        
(r213418)
+++ stable/8/libexec/tftpd/tftpd.c      Mon Oct  4 20:02:48 2010        
(r213419)
@@ -604,7 +604,6 @@ tftp_rrq(int peer, char *recvbuffer, ssi
                 */
                if (suppress_naks && *filename != '/' && ecode == ENOTFOUND)
                        exit(0);
-               tftp_log(LOG_ERR, "Prevent NAK storm");
                send_error(peer, ecode);
                exit(1);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to