From f30b25f9625d5542ace217bb6b3610d0a09f228a Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Thu, 4 Nov 1999 14:03:36 +0000 Subject: Use local variables to test that functionality. --- bird.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bird.conf') diff --git a/bird.conf b/bird.conf index 09290de..443a6d7 100644 --- a/bird.conf +++ b/bird.conf @@ -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; } -- cgit v1.2.3