]> git.ipfire.org Git - thirdparty/bird.git/commit
Filter: Implement for loops next
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 14 Mar 2022 19:36:20 +0000 (20:36 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 14 Mar 2022 19:36:20 +0000 (20:36 +0100)
commitcf3e0a5f1a05a8dad26c4671507c582b53aefddf
treef0857de7eb294649afc60e14af627a38e7bd2df8
parent8216114841ec5ba9a58291956ec6466f27fb8f1f
Filter: Implement for loops

For loops allow to iterate over elements in compound data like BGP paths
or community lists. The syntax is:

  for [ <type> ] <variable> in <expr> do <command-body>
doc/bird.sgml
filter/config.Y
filter/data.c
filter/f-inst.c
filter/test.conf
nest/a-path.c
nest/a-set.c
nest/attrs.h