Exactly what I meant. To many 'pass tagged' on each new line in pf.conf Sent from my iDevice
On Sep 17, 2012, at 17:25, Henning Brauer <lists-openbsdt...@bsws.de> wrote: > * Stuart Henderson <s...@spacehopper.org> [2012-09-17 17:23]: >> On 2012/09/17 17:14, Mike Belopuhov wrote: >>> On Mon, Sep 17, 2012 at 5:03 PM, Henning Brauer <henn...@openbsd.org> wrote: >>>> * mxb <m...@alumni.chalmers.se> [2012-09-10 17:51]: >>>>> is there any plans to expand 'tagged' keyword in PF into list? >>>> not that I am aware of, but it would make sense to have list expansion >>>> there as well. >>> would it mean "tagged foo AND bar" or "tagged foo OR bar"? >> it would have to be "foo OR bar" because you can only have one tag at a time. > > it is even easier than that. > > pass tagged { FOO, BAR } > > expands to > > pass tagged FOO > pass tagged BAR > > it's just list expansion. > > -- > Henning Brauer, h...@bsws.de, henn...@openbsd.org > BS Web Services, http://bsws.de, Full-Service ISP > Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed > Henning Brauer Consulting, http://henningbrauer.com/