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:
15
bird.conf
15
bird.conf
@ -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
|
||||
|
Reference in New Issue
Block a user