summaryrefslogtreecommitdiffstats
path: root/bird.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-03-29 22:21:28 +0200
committerPavel Machek <pavel@ucw.cz>1999-03-29 22:21:28 +0200
commitba92164871f65bb9adcfa66b901d1a7b86697a86 (patch)
treeed1c8fea5b94ea0c2ef23eb0129c82a5be3f99ac /bird.conf
parent5bc512aa3a0d3e4ca378fff3316b75c131f17637 (diff)
downloadbird-ba92164871f65bb9adcfa66b901d1a7b86697a86.tar
bird-ba92164871f65bb9adcfa66b901d1a7b86697a86.zip
Update of filters towards new interface.
Diffstat (limited to 'bird.conf')
-rw-r--r--bird.conf17
1 files changed, 4 insertions, 13 deletions
diff --git a/bird.conf b/bird.conf
index 09b03d4..1b5b534 100644
--- a/bird.conf
+++ b/bird.conf
@@ -8,19 +8,11 @@ router id 62.168.0.1
define xyzzy = 120+10
-function test() {
- int i;
-
- printdebug;
- i = 5;
- print( i );
- printdebug;
- i = 1234;
- print( i );
- printdebug;
-}
+function startup () int i; { printdebug; printdebug; i = 5; print( i ); i = 1234 + i; print( i ); if 0 then { puts( "You must not ever see this" ); quitbird; } print( 2 ); if 1 then puts( "jedna dve honza jde" ); quitbird; }
+
+filter testf int j; { j = const(4321); print( j ); }
+
-/*
protocol rip MyRIP_test {
preference xyzzy
debug all
@@ -29,7 +21,6 @@ protocol rip MyRIP_test {
garbagetime 30
interface "*"
}
-*/
protocol device {
disabled