From ba92164871f65bb9adcfa66b901d1a7b86697a86 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 29 Mar 1999 20:21:28 +0000 Subject: Update of filters towards new interface. --- bird.conf | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'bird.conf') 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 -- cgit v1.2.3