summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-04 15:03:36 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-04 15:03:36 +0100
commitf30b25f9625d5542ace217bb6b3610d0a09f228a (patch)
tree871dd1db3ad8c274651ce94c48bcd4d49803806a
parentdf8b85e33f6df0567127efdd80acf98ba6f3ffea (diff)
downloadbird-f30b25f9625d5542ace217bb6b3610d0a09f228a.tar
bird-f30b25f9625d5542ace217bb6b3610d0a09f228a.zip
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 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;
}