diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-02-25 11:15:26 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-02-25 11:15:26 +0000 |
commit | 2d496d2028e1283384f1c9d243f96eb59c42297e (patch) | |
tree | 34b2abc7a2e28f029d60ad80e3c25bff08bfab7d /filter/test.conf | |
parent | df0cf75dc849f5182d75328f4d4189a2d6048b57 (diff) |
Get rid of 'ab'-s, added return to functions.
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/filter/test.conf b/filter/test.conf index 616dbc58..e42feadb 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"; |