diff options
author | glebius <glebius@FreeBSD.org> | 2014-11-07 09:39:05 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-11-07 09:39:05 +0000 |
commit | 99f4ec50e80b1d866aac04ceef8235524e0c274f (patch) | |
tree | 5d3184d9ac4d7fbae5828f14c4607daa3a058258 /sys/netipsec/xform_ipcomp.c | |
parent | ac67ed6c194ba300683a539b60da4270a2558d03 (diff) | |
download | FreeBSD-src-99f4ec50e80b1d866aac04ceef8235524e0c274f.zip FreeBSD-src-99f4ec50e80b1d866aac04ceef8235524e0c274f.tar.gz |
Remove SYSCTL_VNET_* macros, and simply put CTLFLAG_VNET where needed.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/netipsec/xform_ipcomp.c')
-rw-r--r-- | sys/netipsec/xform_ipcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/xform_ipcomp.c b/sys/netipsec/xform_ipcomp.c index 1fa1057..1096c99 100644 --- a/sys/netipsec/xform_ipcomp.c +++ b/sys/netipsec/xform_ipcomp.c @@ -78,8 +78,8 @@ VNET_PCPUSTAT_SYSUNINIT(ipcompstat); #endif /* VIMAGE */ SYSCTL_DECL(_net_inet_ipcomp); -SYSCTL_VNET_INT(_net_inet_ipcomp, OID_AUTO, - ipcomp_enable, CTLFLAG_RW, &VNET_NAME(ipcomp_enable), 0, ""); +SYSCTL_INT(_net_inet_ipcomp, OID_AUTO, ipcomp_enable, + CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(ipcomp_enable), 0, ""); SYSCTL_VNET_PCPUSTAT(_net_inet_ipcomp, IPSECCTL_STATS, stats, struct ipcompstat, ipcompstat, "IPCOMP statistics (struct ipcompstat, netipsec/ipcomp_var.h"); |