1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Update of filters towards new interface.

This commit is contained in:
Pavel Machek
1999-03-29 20:21:28 +00:00
parent 5bc512aa3a
commit ba92164871
5 changed files with 123 additions and 107 deletions

View File

@ -8,19 +8,11 @@ router id 62.168.0.1
define xyzzy = 120+10
function test() {
int i;
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 ); }
printdebug;
i = 5;
print( i );
printdebug;
i = 1234;
print( i );
printdebug;
}
/*
protocol rip MyRIP_test {
preference xyzzy
debug all
@ -29,7 +21,6 @@ protocol rip MyRIP_test {
garbagetime 30
interface "*"
}
*/
protocol device {
disabled