didnt work for me either :(
%more test.pf1
----
int_net="'192.168.0.1/24'"
john="192.168.1.3"
all="{" $int_net $john"}"
pass in quick on bge0 proto tcp from $all to 68.149.93.11 port 80
-----
%pfctl -nvv -f test.pf1
Loaded 293 passive OS fingerprints
int_net = "'192.168.0.1/24'"
john = "192.168.1.3"
test.pf1:4: syntax error
thanks
----- Original Message -----
From: "Bryan Irvine" <[EMAIL PROTECTED]>
To: "Gustavo A. Baratto" <[EMAIL PROTECTED]>
Cc: <pf@benzedrine.cx>
Sent: Monday, August 29, 2005 12:42 PM
Subject: Re: macro doesnt expand CIDR
On 8/22/05, Gustavo A. Baratto <[EMAIL PROTECTED]> wrote:
couldnt find any restriction about the content of a macro, so this doesnt
work:
----
int_net="192.168.0.1/24"
john="192.168.1.3"
all="{" $int_net $john "}"
pass in quick on bge0 proto tcp from $all to 68.149.93.11 port 80
Try it this way
int_net="'192.168.0.1/24'"
john="192.168.1.3"
all="{" $int_net $john"}"
pass in quick on bge0 proto tcp from $all to 68.149.93.11 port 80
--Bryan