diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-05-15 14:19:26 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-05-15 14:19:26 +0200 |
commit | cbfd671f114a96095f021662ad1cf0eaa6d089c1 (patch) | |
tree | 9995484ebaf0e8d9078e085210802e9477e9f807 /filter/test.conf | |
parent | cc590a11a7a285463dff89d0bd677d0762dd8e45 (diff) | |
download | bird-cbfd671f114a96095f021662ad1cf0eaa6d089c1.tar bird-cbfd671f114a96095f021662ad1cf0eaa6d089c1.zip |
Allow accessing defined symbols.
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 37cff13..d734d57 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"; |