On Fri, Jan 19, 2007 at 07:20:11PM +0100, Xavier ROUX wrote: > I am trying to reproduce the example below, given in the FAQ:
> host1 = "192.168.1.1" > host2 = "192.168.1.2" > all_hosts = "{" $host1 $host2 "}" > I obtain this error: > # pfctl -nf /etc/pf.conf > /etc/pf.conf:48: syntax error > /etc/pf.conf:83: macro 'lans' not defined > Could you give me the correct syntax? openbsd 3.8 mazzy[3.8]# cat /var/tmp/123 A="'10/8'" B="'192/8'" C="{" $A $B "}" pass in from $C mazzy[3.8]# cat /var/tmp/123 | pfctl -vnf - A = "'10/8'" B = "'192/8'" C = "{ 10/8 192/8 }" pass in inet from 10.0.0.0/8 to any pass in inet from 192.0.0.0/8 to any -- Dmitry