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