Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 22:17:55 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r192341 - head/sys/netinet
Message-ID:  <20090518221501.W72053@maildrop.int.zabbadoz.net>
In-Reply-To: <200905182146.n4ILkkBr075685@svn.freebsd.org>
References:  <200905182146.n4ILkkBr075685@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090518221501.W72053>