]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Use local variables to test that functionality.
authorPavel Machek <pavel@ucw.cz>
Thu, 4 Nov 1999 14:03:36 +0000 (14:03 +0000)
committerPavel Machek <pavel@ucw.cz>
Thu, 4 Nov 1999 14:03:36 +0000 (14:03 +0000)
bird.conf

index 09290def67b9a81bf6f9745db05f9edf902328f4..443a6d769597a7fc2c7ec8fe8b814415c6628049 100644 (file)
--- 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;
 }