On 5/24/06, Daniel Hartmeier <[EMAIL PROTECTED]> wrote:
On Tue, May 23, 2006 at 03:31:46PM -0700, andrew fresh wrote:

> host_list = "{" $hosts "}"
> port_list = "{" $ports "}"

Try adding

  q_host_list = '"{' $hosts '}"'
  q_port_list = '"{' $ports '}"'


Thankyou s much for the clarification Danny :-)

The PF FAQ at http://www.openbsd.org/faq/pf/macros.html

shows double quotes inside {}
------------------------------------------------------
Macros can be defined recursively. Since macros are not expanded
within quotes the following syntax must be used:

   host1 = "192.168.1.1"
   host2 = "192.168.1.2"
   all_hosts = "{" $host1 $host2 "}"
----------------------------------------------------------------------------

is that an error ?

Thankyou so mcuh

Kind Regards

Siju

Reply via email to