Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2012 12:40:15 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/166255: [net] [patch] It should be possible to disable "promiscuous mode enabled" messages
Message-ID:  <201203221240.q2MCeFe2043072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/166255; it has been noted by GNATS.

From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Eugene Grosbein <eugen@grosbein.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/166255: [net] [patch] It should be possible to disable
 "promiscuous mode enabled" messages
Date: Thu, 22 Mar 2012 16:31:09 +0400

 On Tue, Mar 20, 2012 at 03:46:31AM +0700, Eugene Grosbein wrote:
 E> >Fix:
 E> 
 E> 	The following patch introduces new sysctl named
 E> 	net.link.log_promisc_mode_change with default value 1.
 E> 	One may change it to 0 to disable mentioned warnings.
 
 IMHO, it'll be better to provide not a boolean, but a unsigned
 integer that specifies the desired log level, first argument of
 log(9). LOG_DEBUG would work for those, who don't want to see such
 messages.
 
 -- 
 Totus tuus, Glebius.



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