summaryrefslogtreecommitdiffstats
path: root/sys/net/ieee8023ad_lacp.c
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2018-03-31 19:19:22 +0000
committersmh <smh@FreeBSD.org>2018-03-31 19:19:22 +0000
commit6eedfdb590a8f136e4c1fd16a5f90dbe6caea6f7 (patch)
treee96fef4ab854880c05df3b345f99d974c401b07c /sys/net/ieee8023ad_lacp.c
parent16b0f897c76e139a650ac577248737ca54d06874 (diff)
downloadFreeBSD-src-6eedfdb590a8f136e4c1fd16a5f90dbe6caea6f7.zip
FreeBSD-src-6eedfdb590a8f136e4c1fd16a5f90dbe6caea6f7.tar.gz
MFC r328321:
Added missing CTLFLAG_VNET to lacp default_strict_mode Sponsored by: Multiplay
Diffstat (limited to 'sys/net/ieee8023ad_lacp.c')
-rw-r--r--sys/net/ieee8023ad_lacp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ieee8023ad_lacp.c b/sys/net/ieee8023ad_lacp.c
index ccb92a8..df3258c 100644
--- a/sys/net/ieee8023ad_lacp.c
+++ b/sys/net/ieee8023ad_lacp.c
@@ -197,8 +197,8 @@ SYSCTL_INT(_net_link_lagg_lacp, OID_AUTO, debug, CTLFLAG_RWTUN | CTLFLAG_VNET,
&VNET_NAME(lacp_debug), 0, "Enable LACP debug logging (1=debug, 2=trace)");
static VNET_DEFINE(int, lacp_default_strict_mode) = 1;
-SYSCTL_INT(_net_link_lagg_lacp, OID_AUTO, default_strict_mode, CTLFLAG_RWTUN,
- &VNET_NAME(lacp_default_strict_mode), 0,
+SYSCTL_INT(_net_link_lagg_lacp, OID_AUTO, default_strict_mode,
+ CTLFLAG_RWTUN | CTLFLAG_VNET, &VNET_NAME(lacp_default_strict_mode), 0,
"LACP strict protocol compliance default");
#define LACP_DPRINTF(a) if (V_lacp_debug & 0x01) { lacp_dprintf a ; }
OpenPOWER on IntegriCloud