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

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