summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipfw
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-12-16 18:03:35 +0000
committerluigi <luigi@FreeBSD.org>2009-12-16 18:03:35 +0000
commit2544f1c542161789f8d1a16b4ffccc591af402d9 (patch)
tree91ac13513ee5b88952211a531fbbf22516774b6d /sys/netinet/ipfw
parent2df754472e7a650f6a3a3a73042f078887758877 (diff)
downloadFreeBSD-src-2544f1c542161789f8d1a16b4ffccc591af402d9.zip
FreeBSD-src-2544f1c542161789f8d1a16b4ffccc591af402d9.tar.gz
remove a duplicate sysctl entry
Diffstat (limited to 'sys/netinet/ipfw')
-rw-r--r--sys/netinet/ipfw/ip_fw_sockopt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/ipfw/ip_fw_sockopt.c b/sys/netinet/ipfw/ip_fw_sockopt.c
index aa0863c..d418881 100644
--- a/sys/netinet/ipfw/ip_fw_sockopt.c
+++ b/sys/netinet/ipfw/ip_fw_sockopt.c
@@ -81,15 +81,13 @@ MALLOC_DEFINE(M_IPFW, "IpFw/IpAcct", "IpFw/IpAcct chain's");
*/
static VNET_DEFINE(u_int32_t, static_count); /* # of static rules */
-static VNET_DEFINE(u_int32_t, static_len); /* bytes of static rules */
#define V_static_count VNET(static_count)
+
+static VNET_DEFINE(u_int32_t, static_len); /* bytes of static rules */
#define V_static_len VNET(static_len)
#ifdef SYSCTL_NODE
SYSCTL_DECL(_net_inet_ip_fw);
-SYSCTL_VNET_INT(_net_inet_ip_fw, OID_AUTO, autoinc_step,
- CTLFLAG_RW, &VNET_NAME(autoinc_step), 0,
- "Rule number auto-increment step");
SYSCTL_VNET_INT(_net_inet_ip_fw, OID_AUTO, static_count,
CTLFLAG_RD, &VNET_NAME(static_count), 0,
"Number of static rules");
OpenPOWER on IntegriCloud