From owner-freebsd-current@freebsd.org Sat Jun 24 03:31:52 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9308BD94E59 for ; Sat, 24 Jun 2017 03:31:52 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7502A80388 for ; Sat, 24 Jun 2017 03:31:52 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: by mailman.ysv.freebsd.org (Postfix) id 744D3D94E58; Sat, 24 Jun 2017 03:31:52 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7405AD94E57 for ; Sat, 24 Jun 2017 03:31:52 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D93280387; Sat, 24 Jun 2017 03:31:51 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id ObnSdl8NLeQWUObnUdTJCr; Fri, 23 Jun 2017 21:31:45 -0600 X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=kj9zAlcOel0A:10 a=LWSFodeU3zMA:10 a=LaogzpLLAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=Y6FgKWAw_WmsBP4cozcA:9 a=CjuIK1q_8ugA:10 a=CxfwaAJFGc7Mutynw3I8:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id BFDD413BA; Fri, 23 Jun 2017 20:31:42 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id v5O3UPD8084548; Fri, 23 Jun 2017 20:30:26 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201706240330.v5O3UPD8084548@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: "Mikhail T." cc: Cy Schubert , Mark Johnston , Hans Petter Selasky , current@FreeBSD.org Subject: Re: ipfilter fails to compile WITHOUT_INET6 In-Reply-To: Message from "Mikhail T." of "Fri, 23 Jun 2017 12:33:31 -0400." <16738440-df50-0e33-2a50-34007121298f@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jun 2017 20:30:25 -0700 X-CMAE-Envelope: MS4wfKIRVOW/Gg3/rDpHvKK4O+N6+2UjtlcclVimVAE5sTd8YS0TPn43s7WclsZfibR+2sq1GTqC4QlUVpGnla7tKbfaGBrsW9F7IThICJ/od9neFPFqdYhg TO22s3Z6vUl/r6AlKPWRDFLQB2FQD/Rl1pcll7/JKfwb4NqU5qdt4ss70fFMIf84FzgB1TuCQogDtrLF20EW0RdvGaPqST94FnoaZ/NErUmxf9kotG03SC4G HtPTtoHMJsylFZWm/AgbJ0+Go+TD40VZn1JcdUAbEbY= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2017 03:31:52 -0000 In message <16738440-df50-0e33-2a50-34007121298f@aldan.algebra.com>, "Mikhail T ." writes: > This is a multi-part message in MIME format. > --------------DC959F413BFB254449706900 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 7bit > > On 22.06.2017 21:20, Cy Schubert wrote: > > Can you try the attached patch please? > Yes, replacing: > > -#ifdef AF_INET6 > +#ifdef USE_INET6 > > lets the build succeed. Is it Ok to modify stuff under contrib/ though?.. Yes, I've already committed the patch and also to ipf_y.y in ../tools/. I'll be pushing these and a lot of other changes upline when I'm done. The work that has been done so far -- fixing bugs -- has also been shared with NetBSD. I've used some of NetBSD's ipfilter patches in our tree. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.