On Mon, 18 May 2009, John Baldwin wrote:
Author: jhb
Date: Mon May 18 21:46:46 2009
New Revision: 192341
URL: http://svn.freebsd.org/changeset/base/192341
Log:
- Fix typo in description of 'net.inet.ip.fw.autoinc_step'.
- Use 'vnet_ipfw' instead of 'vnet_inet' for 'net.inet.ip.fw.one_pass'.
grep _fw_one_pass sys/netinet/vinet.h
grep _fw_one_pass sys/netinet/ip_fw.h
The problem with this one is/was that it is/was a classic ip_input
variable and not an ipfw2 one.
You just broke the build (at least for some kernel configs ;-)
Modified:
head/sys/netinet/ip_fw2.c
Modified: head/sys/netinet/ip_fw2.c
==============================================================================
--- head/sys/netinet/ip_fw2.c Mon May 18 21:44:33 2009 (r192340)
+++ head/sys/netinet/ip_fw2.c Mon May 18 21:46:46 2009 (r192341)
@@ -181,8 +181,8 @@ SYSCTL_V_PROC(V_NET, vnet_ipfw, _net_ine
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_SECURE3, fw_enable, 0,
ipfw_chg_hook, "I", "Enable ipfw");
SYSCTL_V_INT(V_NET, vnet_ipfw, _net_inet_ip_fw, OID_AUTO, autoinc_step,
- CTLFLAG_RW, autoinc_step, 0, "Rule number autincrement step");
-SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_ip_fw, OID_AUTO, one_pass,
+ CTLFLAG_RW, autoinc_step, 0, "Rule number auto-increment step");
+SYSCTL_V_INT(V_NET, vnet_ipfw, _net_inet_ip_fw, OID_AUTO, one_pass,
CTLFLAG_RW | CTLFLAG_SECURE3, fw_one_pass, 0,
"Only do a single pass through ipfw when using dummynet(4)");
SYSCTL_V_INT(V_NET, vnet_ipfw, _net_inet_ip_fw, OID_AUTO, verbose,
--
Bjoern A. Zeeb The greatest risk is not taking one.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"