[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

macro doesnt expand CIDR



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
----


This works: ------- int_net="192.168.0.1/24" john="192.168.1.3"

all="{192.168.0.1/24" $john "}"

pass in quick on bge0 proto tcp from $all to 68.149.93.11 port 80
----


Why's that?


thanks :)