From owner-svn-src-head@FreeBSD.ORG Mon May 18 22:18:15 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E971E106564A; Mon, 18 May 2009 22:18:15 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9FEBB8FC18; Mon, 18 May 2009 22:18:15 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 8EA1541C751; Tue, 19 May 2009 00:18:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id JuGav-pa0ImU; Tue, 19 May 2009 00:18:14 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 2DB3841C750; Tue, 19 May 2009 00:18:14 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id F3E294448E6; Mon, 18 May 2009 22:17:55 +0000 (UTC) Date: Mon, 18 May 2009 22:17:55 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: John Baldwin In-Reply-To: <200905182146.n4ILkkBr075685@svn.freebsd.org> Message-ID: <20090518221501.W72053@maildrop.int.zabbadoz.net> References: <200905182146.n4ILkkBr075685@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r192341 - head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 22:18:16 -0000 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.