From owner-freebsd-ipfw Mon Feb 28 5:48:59 2000 Delivered-To: freebsd-ipfw@freebsd.org Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by hub.freebsd.org (Postfix) with ESMTP id 5F94937B73F; Mon, 28 Feb 2000 05:48:55 -0800 (PST) (envelope-from Kai.Grossjohann@CS.Uni-Dortmund.DE) Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id OAA10012; Mon, 28 Feb 2000 14:48:18 +0100 (MET) Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id OAA10325; Mon, 28 Feb 2000 14:48:18 +0100 (MET) Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-6) id OAA04092; Mon, 28 Feb 2000 14:48:18 +0100 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f To: Jim Bloom Cc: freebsd-current@FreeBSD.ORG, freebsd-ipfw@FreeBSD.ORG Subject: Re: cpp change breaks ipfw References: <38B8BAC5.9927A56E@acm.org> <38BA6E6D.239DEDB1@acm.org> From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Date: 28 Feb 2000 14:48:17 +0100 In-Reply-To: Jim Bloom's message of "Mon, 28 Feb 2000 07:47:41 -0500" Message-ID: Lines: 30 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim Bloom writes: > No. It has the same bug. That method of concatenation only works > for strings. Well, I tried it and got the following: /---- | $ cat foo | #define rule(ADDR,MASK) add pass tcp from ADDR ## : ## MASK to any 25 setup | rule(192.168.2.5,255.255.254.0) | $ type cpp | cpp is hashed (/usr/bin/cpp) | $ cpp foo | # 1 "foo" | | add pass tcp from 192.168.2.5:255.255.254.0 to any 25 setup | $ cpp --version | 2.95.2 \---- Note that there is no space in ``192.168.2.5:255.255.254.0''. I thought that this is what you wanted? If this isn't what you wanted, I'm sorry for the misunderstanding. I cvsupped my -current on Friday or Saturday, is that too old? kai -- ~/.signature: No such file or directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message