summaryrefslogtreecommitdiffstats
path: root/bird.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-04-19 20:41:56 +0200
committerPavel Machek <pavel@ucw.cz>1999-04-19 20:41:56 +0200
commit36bbfc704c7d2153537751e24413db9b9c97bc58 (patch)
tree6c0c0d3e94566f2c4518c0ee720014f5dee14891 /bird.conf
parentafbc41ab3d4f07f7dc4dbc6c769fe7fa1567f357 (diff)
downloadbird-36bbfc704c7d2153537751e24413db9b9c97bc58.tar
bird-36bbfc704c7d2153537751e24413db9b9c97bc58.zip
Updated filters: they now actually see IP/pxlen of net being filtered,
gateway, and who told us, so they can do usefull jobs from now on.
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 {