Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2016 09:00:05 +0000 (UTC)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300670 - head/sys/net
Message-ID:  <201605250900.u4P9057F052333@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: n_hibma
Date: Wed May 25 09:00:05 2016
New Revision: 300670
URL: https://svnweb.freebsd.org/changeset/base/300670

Log:
  Change net.link.log_promisc_mode_change to a read-only tunable
  
  PR:		166255
  Submitted by:	eugen.grosbein.net
  Obtained from:	hselasky
  MFC after:	3 days

Modified:
  head/sys/net/if.c

Modified: head/sys/net/if.c
==============================================================================
--- head/sys/net/if.c	Wed May 25 08:45:03 2016	(r300669)
+++ head/sys/net/if.c	Wed May 25 09:00:05 2016	(r300670)
@@ -115,7 +115,7 @@ SYSCTL_INT(_net_link, OID_AUTO, log_link
 /* Log promiscuous mode change events */
 static int log_promisc_mode_change = 1;
 
-SYSCTL_INT(_net_link, OID_AUTO, log_promisc_mode_change, CTLFLAG_RW,
+SYSCTL_INT(_net_link, OID_AUTO, log_promisc_mode_change, CTLFLAG_RDTUN,
 	&log_promisc_mode_change, 1,
 	"log promiscuous mode change events");
 



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