Searching for a method to create a table based on the contents a file
but slightly modified without needing to modify the file itself.

Non-modified example is:
table <fromfile> persist file "/mypath/assortedaddresses"

Yet, attempts to modify do not work:
table <fromfile> persist { !x.x.x.x/y, file "/mypath/assortedaddresses" }
or:
table <fromfile> persist { file "/mypath/assortedaddresses", !x.x.x.x/y }
generating:
/etc/pf.conf:25: syntax error

Also tried to create a new table by modifying the old one:
table <modfromfile> persist { <fromfile>, !x.x.x.x/y }
or:
table <modfromfile> persist { !x.x.x.x/y, <fromfile> }
and get:
/etc/pf.conf:25: tables cannot contain tables

Am I missing the proper syntax or is this not currently possible?

Tanks,

Chris

Reply via email to