]> git.ipfire.org Git - thirdparty/bird.git/blob - filter/test-reconf-begin.conf
Filter: Methods rework
[thirdparty/bird.git] / filter / test-reconf-begin.conf
1 router id 1.1.1.1;
2 protocol device {}
3
4 function a() {
5 return true;
6 }
7
8 function b() {
9 return a();
10 }
11
12 function c() {
13 return b();
14 }
15
16 filter d {
17 if c() then accept; else reject;
18 }
19
20 protocol static {
21 ipv4 { import filter d; };
22 route 10.0.0.0/24 unreachable;
23 }