0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Use local variables to test that functionality.

This commit is contained in:
Pavel Machek 1999-11-04 14:03:36 +00:00
parent df8b85e33f
commit f30b25f962

View File

@ -11,8 +11,10 @@ define xyzzy = 120+10;
function callme ( int arg1; int arg2 )
int local1;
int local2;
int i;
{
print "Function callme called arguments " arg1 " and " arg2;
i = arg2;
case arg1 {
2: print "dva"; print "jeste jednou dva";
@ -64,6 +66,9 @@ int j;
print "This route was from " rta.from;
j = 7;
j = 17;
if rta.rip_metric > 15 then
print "RIP Metric is more than infinity";
accept;
}