summaryrefslogtreecommitdiffstats
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-18 14:21:52 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-18 14:21:52 +0100
commit346a12c2109b99d907e7ebeb3560992e92a6c26b (patch)
treece2fcca13ca95999ef3fe94e1b61a20c1b627d71 /filter/test.conf
parent4364b47e48ddedb841e8ec8db25c8b4fa878a911 (diff)
downloadbird-346a12c2109b99d907e7ebeb3560992e92a6c26b.tar
bird-346a12c2109b99d907e7ebeb3560992e92a6c26b.zip
You can now print enum.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 6f102a8..97aaf8f 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -13,8 +13,7 @@ int local1;
int local2;
int i;
{
- print "Ok";
- print "Function callme called arguments " arg1 " and " arg2;
+ printn "Function callme called arguments " arg1 " and " arg2 ":";
i = arg2;
case arg1 {
@@ -47,7 +46,7 @@ ip p;
p = 127.1.2.3;
print "Testing mask : 127.0.0.0 = " p.mask(8);
print "Testing pairs: (1,2) = " (1,2);
-#
+ print "Testing enums: " RTS_DUMMY " " RTS_STATIC;
print "What will this do? " [ 1, 2, 1, 1, 1, 3, 4, 1, 1, 1, 5 ];