From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 03:51:57 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 6ECE316A4CF; Thu, 16 Sep 2004 03:51:57 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 41152 invoked by uid 1005); 29 Sep 2003 13:17:19 -0000 Delivered-To: max@vampire.homelinux.org Received: (qmail 41149 invoked from network); 29 Sep 2003 13:17:19 -0000 Received: from moutng.kundenserver.de (212.227.126.186) by pd9e398ed.dip.t-dialin.net with SMTP; 29 Sep 2003 13:17:19 -0000 Received: from [212.227.126.152] (helo=mxng01.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A3ynS-0004ub-00 for max@vampire.homelinux.org; Mon, 29 Sep 2003 16:14:42 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng01.kundenserver.de with esmtp (Exim 3.35 #1) id 1A3ynC-0004vb-00 for max@love2party.net; Mon, 29 Sep 2003 16:14:26 +0200 Received: from turing (localhost [127.0.0.1])ESMTP id D2FE73904D6; Mon, 29 Sep 2003 09:09:20 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Mon, 29 Sep 2003 09:09:15 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from papoose.quick.com (papoose.quick.com [199.120.187.2]) ESMTP id EA84239028A for ; Mon, 29 Sep 2003 09:09:14 -0500 (EST) Received: from quick.com (lili.chezq.com [199.120.187.50]) by papoose.quick.com (8.12.9/8.12.9) with ESMTP id h8TEDXYc021257 for ; Mon, 29 Sep 2003 10:13:33 -0400 (EDT) (envelope-from jq@quick.com) Mime-Version: 1.0 (Apple Message framework v552) Content-type: text/plain; charset=US-ASCII From: James Quick To: pf4freebsd@freelists.org Message-Id: <18E25BB4-F287-11D7-ADF9-003065C496DC@quick.com> X-Mailer: Apple Mail (2.552) X-archive-position: 163 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: jq@quick.com Precedence: normal X-list: pf4freebsd Content-Transfer-Encoding: quoted-printable X-UID: 278 X-Length: 3446 X-Mailman-Approved-At: Thu, 16 Sep 2004 03:55:51 +0000 Subject: [pf4freebsd] Patch to pf/Makefile X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 03:51:57 -0000 X-Original-Date: Mon, 29 Sep 2003 10:13:28 -0400 X-List-Received-Date: Thu, 16 Sep 2004 03:51:57 -0000 The pf Makefile does not correctly build WITH_RANDOM_ID. The problem is a mistakenly transposed .if .else expression. p.s. I only learned about this package this weekend. I've been an ipfilter user on 4.x and 5.x for 4 years or so, but am new to pf. I have deployed in test mode on 5_1_RELENG, and have a couple of pf configuration questions. I have read the openbsd pf faq pages, the man pages, and the resources listed on this project's web site. Can I ask the questions here? If not I would appreciate being pointed to appropriate resources. *** pf/Makefile.orig Wed Sep 24 07:48:44 2003 --- pf/Makefile Mon Sep 29 09:52:11 2003 *************** *** 43,51 **** opt_random_ip_id.h: .if defined(WITH_RANDOM_ID) && (${WITH_RANDOM_ID} =3D=3D "yes") - echo > opt_random_ip_id.h - .else echo "#define RANDOM_IP_ID 1" > opt_random_ip_id.h .endif .include --- 43,51 ---- opt_random_ip_id.h: .if defined(WITH_RANDOM_ID) && (${WITH_RANDOM_ID} =3D=3D "yes") echo "#define RANDOM_IP_ID 1" > opt_random_ip_id.h + .else + echo > opt_random_ip_id.h .endif .include