diff options
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/filter/test.conf b/filter/test.conf index 37cff13e..d734d57c 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -65,13 +65,16 @@ function bla() return 15; } +define four=4; +define onetwo=1.2.3.4; + function __startup() int i; prefix px; ip p; { print "Testing filter language:"; - i = 4; + i = four; i = 1230 + i; i = ( i + 0 ); print " arithmetics: 1234 = ", i; @@ -111,6 +114,8 @@ ip p; paths(); + print "1.2.3.4 = ", onetwo; + print "done"; quitbird; # print "*** FAIL: this is unreachable"; |