Skip site navigation (1)Skip section navigation (2)
Date:      28 Feb 2000 14:48:17 +0100
From:      Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=)
To:        Jim Bloom <bloom@acm.org>
Cc:        freebsd-current@FreeBSD.ORG, freebsd-ipfw@FreeBSD.ORG
Subject:   Re: cpp change breaks ipfw
Message-ID:  <vafsnyd4evy.fsf@lucy.cs.uni-dortmund.de>
In-Reply-To: Jim Bloom's message of "Mon, 28 Feb 2000 07:47:41 -0500"
References:  <38B8BAC5.9927A56E@acm.org> <vafem9x1sw3.fsf@lucy.cs.uni-dortmund.de> <38BA6E6D.239DEDB1@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Bloom <bloom@acm.org> 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




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