diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-04-19 18:41:56 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-04-19 18:41:56 +0000 |
commit | 36bbfc704c7d2153537751e24413db9b9c97bc58 (patch) | |
tree | 6c0c0d3e94566f2c4518c0ee720014f5dee14891 /bird.conf | |
parent | afbc41ab3d4f07f7dc4dbc6c769fe7fa1567f357 (diff) |
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.conf | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 { |