summaryrefslogtreecommitdiffstats
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-02-25 12:15:26 +0100
committerPavel Machek <pavel@ucw.cz>2000-02-25 12:15:26 +0100
commit2d496d2028e1283384f1c9d243f96eb59c42297e (patch)
tree34b2abc7a2e28f029d60ad80e3c25bff08bfab7d /filter/test.conf
parentdf0cf75dc849f5182d75328f4d4189a2d6048b57 (diff)
downloadbird-2d496d2028e1283384f1c9d243f96eb59c42297e.tar
bird-2d496d2028e1283384f1c9d243f96eb59c42297e.zip
Get rid of 'ab'-s, added return to functions.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf13
1 files changed, 11 insertions, 2 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 616dbc5..e42fead 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -8,7 +8,7 @@ router id 62.168.0.1;
define xyzzy = 120+10;
-function callme ( int arg1; int arg2 )
+function callme(int arg1; int arg2)
int local1;
int local2;
int i;
@@ -23,7 +23,13 @@ int i;
}
}
-function startup ()
+function fifteen()
+{
+ print "fifteen called";
+ return 15;
+}
+
+function startup()
int i;
prefix px;
ip p;
@@ -58,6 +64,9 @@ ip p;
callme ( 4, 2 );
callme ( 7, 2 );
+ i = fifteen();
+ print "Testing function calls: 15 = " i;
+
print "done";
quitbird;
# print "*** FAIL: this is unreachable";