summaryrefslogtreecommitdiffstats
path: root/bird.conf
diff options
context:
space:
mode:
Diffstat (limited to 'bird.conf')
-rw-r--r--bird.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/bird.conf b/bird.conf
index 2129bab..850b53e 100644
--- a/bird.conf
+++ b/bird.conf
@@ -32,15 +32,16 @@ int i;
print " false = " 1.2.3.4 ~ [ 1.2.3.3, 1.2.3.5 ];
print "done";
- quitbird;
+# quitbird;
print "*** FAIL: this is unreachable";
}
filter testf
int j;
{
- j = const(4321);
- print j;
+ print "Heya, filtering route to " rta.net.ip " prefixlen " rta.net.len;
+ print "This route was from " rta.from;
+ accept;
}
protocol rip MyRIP_test {
@@ -50,6 +51,7 @@ protocol rip MyRIP_test {
period 5;
garbagetime 30;
interface "*";
+ export filter testf;
}
protocol device {