svn commit: r200610 - head/sys/netinet/ipfw

Luigi Rizzo luigi at FreeBSD.org
Wed Dec 16 18:03:37 UTC 2009


Author: luigi
Date: Wed Dec 16 18:03:35 2009
New Revision: 200610
URL: http://svn.freebsd.org/changeset/base/200610

Log:
  remove a duplicate sysctl entry

Modified:
  head/sys/netinet/ipfw/ip_fw_sockopt.c

Modified: head/sys/netinet/ipfw/ip_fw_sockopt.c
==============================================================================
--- head/sys/netinet/ipfw/ip_fw_sockopt.c	Wed Dec 16 18:03:25 2009	(r200609)
+++ head/sys/netinet/ipfw/ip_fw_sockopt.c	Wed Dec 16 18:03:35 2009	(r200610)
@@ -81,15 +81,13 @@ MALLOC_DEFINE(M_IPFW, "IpFw/IpAcct", "Ip
  */
 
 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");


More information about the svn-src-all mailing list