summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-04 14:03:36 +0000
committerPavel Machek <pavel@ucw.cz>1999-11-04 14:03:36 +0000
commitf30b25f9625d5542ace217bb6b3610d0a09f228a (patch)
tree871dd1db3ad8c274651ce94c48bcd4d49803806a
parentdf8b85e33f6df0567127efdd80acf98ba6f3ffea (diff)
Use local variables to test that functionality.
-rw-r--r--bird.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/bird.conf b/bird.conf
index 09290def..443a6d76 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;
}