summaryrefslogtreecommitdiff
path: root/filter/test-reconf-begin.conf
diff options
context:
space:
mode:
Diffstat (limited to 'filter/test-reconf-begin.conf')
-rw-r--r--filter/test-reconf-begin.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/filter/test-reconf-begin.conf b/filter/test-reconf-begin.conf
new file mode 100644
index 00000000..aeed007f
--- /dev/null
+++ b/filter/test-reconf-begin.conf
@@ -0,0 +1,23 @@
+router id 1.1.1.1;
+protocol device {}
+
+function a() {
+ return true;
+}
+
+function b() {
+ return a();
+}
+
+function c() {
+ return b();
+}
+
+filter d {
+ if c() then accept; else reject;
+}
+
+protocol static {
+ ipv4 { import filter d; };
+ route 10.0.0.0/24 unreachable;
+}