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/netinet/ip_fastfwd.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/netinet/ip_fastfwd.c')
-rw-r--r-- | sys/netinet/ip_fastfwd.c | 2 |
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 * |