lists of lists

Admin Lewis <[email protected]> Tue, 21 Mar 2017 17:11:52 +0100
Newsgroups gmane.os.openbsd.pf
Message-ID <CAKD_BxEnfSt1VmQijCmXd1DTtjkh=jWS=5SmEHMJWck2oRyZnw@mail.gmail.com>
--001a114fbe12ec60c8054b3fe6fe
Content-Type: text/plain; charset=UTF-8

Hi, I am new to the list and to the openbsd/pf world.
I have a simple question. Can I use lists of lists on pf.conf configuration
file ?
For example:

my_macro1=192.168.1.1
my_macro2=192.168.1.2
my_list1="{ 192.168.1.3 192.168.1.4 }"
my_list2="{ 192.168.1.5 192.168.1.6 }"

my_list_of_lists="{" $my_macro1 $my_macro2 $my_list1 $my_list2 "}"

Thank you.
Lewis


-- 
Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/

--001a114fbe12ec60c8054b3fe6fe
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div><div><div><div>Hi, I am=
 new to the list and to the openbsd/pf world.<br></div>I have a simple ques=
tion. Can I use lists of lists on pf.conf configuration file ?<br></div>For=
 example:<br><br></div>my_macro1=3D192.168.1.1<br></div>my_macro2=3D192.168=
.1.2<br></div>my_list1=3D&quot;{ 192.168.1.3 192.168.1.4 }&quot;<br></div>m=
y_list2=3D&quot;{ 192.168.1.5 192.168.1.6 }&quot;<br></div><br></div>my_lis=
t_of_lists=3D&quot;{&quot; $my_macro1 $my_macro2 $my_list1 $my_list2 &quot;=
}&quot;<br><br></div>Thank you.<br></div>Lewis<br><div><div><div><div><div>=
<div><div><div><br clear=3D"all"><div><div><div><br>-- <br><div class=3D"gm=
ail_signature" data-smartmail=3D"gmail_signature">Linux Server, Microsoft W=
indows 2003/2008 Server, Exchange 2007<br><a href=3D"http://predellino.blog=
spot.com/" target=3D"_blank">http://predellino.blogspot.com/</a></div>
</div></div></div></div></div></div></div></div></div></div></div></div>

--001a114fbe12ec60c8054b3fe6fe--