kern/166255: [net] [patch] It should be possible to disable
"promiscuous mode enabled" messages
Gleb Smirnoff
glebius at FreeBSD.org
Thu Mar 22 12:40:15 UTC 2012
The following reply was made to PR kern/166255; it has been noted by GNATS.
From: Gleb Smirnoff <glebius at FreeBSD.org>
To: Eugene Grosbein <eugen at grosbein.net>
Cc: FreeBSD-gnats-submit at 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.
More information about the freebsd-net
mailing list