Re: More syntax/parsing issues in the lists/macros of pf

2016-10-12 Thread Otto Moerbeek
On Wed, Oct 12, 2016 at 09:50:41AM -0400, Russell Sutherland wrote: > Is it possible to use a macro variable with a network CIDR value and then > reference it later in a list? > > E.g. This first example is fine: > > > a = “1.2.3.4” > b = “2.3.4.5” > > c = “{“ $a $b “}” > > works as

More syntax/parsing issues in the lists/macros of pf

2016-10-12 Thread Russell Sutherland
Is it possible to use a macro variable with a network CIDR value and then reference it later in a list? E.g. This first example is fine: a = “1.2.3.4” b = “2.3.4.5” c = “{“ $a $b “}” works as expected, that is c ends up as a list with host values: c = "{ 1.2.3.4 2.3.4.5 }” But if one uses