Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 20:02:55 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r213420 - stable/7/libexec/tftpd
Message-ID:  <201010042002.o94K2tm3025683@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Mon Oct  4 20:02:54 2010
New Revision: 213420
URL: http://svn.freebsd.org/changeset/base/213420

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/7 in r213039)
  again.

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

Modified: stable/7/libexec/tftpd/tftpd.c
==============================================================================
--- stable/7/libexec/tftpd/tftpd.c	Mon Oct  4 20:02:48 2010	(r213419)
+++ stable/7/libexec/tftpd/tftpd.c	Mon Oct  4 20:02:54 2010	(r213420)
@@ -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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010042002.o94K2tm3025683>