diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2016-05-25 09:00:05 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2016-05-25 09:00:05 +0000 |
commit | 6a7280215260369b317474512d2b44c105a020a8 (patch) | |
tree | 331fa782fcbf684d163c7f71fd4e908ff5c22d6e /sys/net | |
parent | f826cc44bc0cc847c927d80b226ac8acb72a47b8 (diff) | |
download | FreeBSD-src-6a7280215260369b317474512d2b44c105a020a8.zip FreeBSD-src-6a7280215260369b317474512d2b44c105a020a8.tar.gz |
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
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 33eb239..c989007 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -115,7 +115,7 @@ SYSCTL_INT(_net_link, OID_AUTO, log_link_state_change, CTLFLAG_RW, /* 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"); |