summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fastfwd.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-11-07 09:39:05 +0000
committerglebius <glebius@FreeBSD.org>2014-11-07 09:39:05 +0000
commit99f4ec50e80b1d866aac04ceef8235524e0c274f (patch)
tree5d3184d9ac4d7fbae5828f14c4607daa3a058258 /sys/netinet/ip_fastfwd.c
parentac67ed6c194ba300683a539b60da4270a2558d03 (diff)
downloadFreeBSD-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/netinet/ip_fastfwd.c')
-rw-r--r--sys/netinet/ip_fastfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c
index ded9103..36d9985 100644
--- a/sys/netinet/ip_fastfwd.c
+++ b/sys/netinet/ip_fastfwd.c
@@ -111,7 +111,7 @@ __FBSDID("$FreeBSD$");
static VNET_DEFINE(int, ipfastforward_active);
#define V_ipfastforward_active VNET(ipfastforward_active)
-SYSCTL_VNET_INT(_net_inet_ip, OID_AUTO, fastforwarding, CTLFLAG_RW,
+SYSCTL_INT(_net_inet_ip, OID_AUTO, fastforwarding, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(ipfastforward_active), 0, "Enable fast IP forwarding");
static struct sockaddr_in *
OpenPOWER on IntegriCloud