Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2006 22:02:28 +0300
From:      "Ivan Levchenko" <levchenko.i@gmail.com>
To:        "Jeremy C. Reed" <reed@reedmedia.net>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Syntax Error
Message-ID:  <e39dd5bb0608181202l4e5dc064jb853774eda3ac5c1@mail.gmail.com>
In-Reply-To: <Pine.NEB.4.64.0608181345470.298@glacier.reedmedia.net>
References:  <20060818184212.17549.qmail@web33911.mail.mud.yahoo.com> <Pine.NEB.4.64.0608181345470.298@glacier.reedmedia.net>

next in thread | previous in thread | raw e-mail | index | archive | help

look in the openbsd faq for pf, there was an example on how to nest a
list inside of a list or something like that.

On 8/18/06, Jeremy C. Reed <reed@reedmedia.net> wrote:
> On Fri, 18 Aug 2006, beno - wrote:
>
> > > > 6. ssh_ports="22"
> > > > 7. ftp_ports="21 8021 7021"
> > > > 8. smtp_ports="25"
> > > > 9. pop3_ports="110"
> > > > 10. https_ports="443"
> > > > 11. imap_ssl_ports="993 143"
> > > > 12. squid_ports="3128"
> > > > 13. mysql_ports="3306"
> > > > 14. email_ports="{" $smtp_ports $pop3_ports "}"
> > > > 15. all_http_ports="{" $http_ports $https_ports "}"
> > > > 16. tcp_ports= "{" $ssh_ports $ftp_ports $all_http_ports
> > > > $imap_ssl_ports "}"
> > >
> > > I don't think you can  put a list inside of another list.
> >
> > You most certainly can nest lists. It works in several examples above.
> > For some reason--and I would like to know that reason--it doesn't work
> > in line #16. Please help.
>
> What examples?
>
> You only have one example above of putting a list in a list (and it is
> your error).
>
> You have several examples of putting macros in a list.
>
> I think you are confusing the terminology or usage of "lists" versus
> "macros".
>
>
> ---------------------------------
> Coming soon: PF Book http://www.reedmedia.net/book/pf-book/
> greytrapping :) fun@reedmedia.net
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>


-- 
Best Regards,

Ivan Levchenko
levchenko.i@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e39dd5bb0608181202l4e5dc064jb853774eda3ac5c1>