diff options
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 { |