Re: svn commit: r192341 - head/sys/netinet

[ Available lists | Index of svn-src-all | Month of May 2009 | Week of 18 May 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bjoern A. Zeeb <bz@FreeBSD.org>
Date
18 May 2009 22:18:15
Subject
Re: svn commit: r192341 - head/sys/netinet
Message-ID
20090518221501.W72053@maildrop.int.zabbadoz.net


[ Hide this part ]
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.


Elapsed time: 0.330 seconds