svn commit: r306571 - head/usr.sbin/rtsold

Mark Johnston markj at FreeBSD.org
Sun Oct 2 00:56:23 UTC 2016


Author: markj
Date: Sun Oct  2 00:56:21 2016
New Revision: 306571
URL: https://svnweb.freebsd.org/changeset/base/306571

Log:
  rtsold: Log messages about unexpected RAs at LOG_DEBUG.
  
  Because rtsold listens for RAs on a raw socket, it may receive RAs from
  interfaces that it does not manage. Such events can result in excessive
  logging.
  
  Submitted by:	Franco Fichtner <franco at opnsense.org>
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D8108

Modified:
  head/usr.sbin/rtsold/rtsol.c

Modified: head/usr.sbin/rtsold/rtsol.c
==============================================================================
--- head/usr.sbin/rtsold/rtsol.c	Sun Oct  2 00:35:00 2016	(r306570)
+++ head/usr.sbin/rtsold/rtsol.c	Sun Oct  2 00:56:21 2016	(r306571)
@@ -347,7 +347,7 @@ rtsol_input(int s)
 	/* xxx: more validation? */
 
 	if ((ifi = find_ifinfo(pi->ipi6_ifindex)) == NULL) {
-		warnmsg(LOG_INFO, __func__,
+		warnmsg(LOG_DEBUG, __func__,
 		    "received RA from %s on an unexpected IF(%s)",
 		    inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
 			sizeof(ntopbuf)),


More information about the svn-src-head mailing list