summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2010-01-27 22:26:45 +0100
committerOndrej Filip <feela@majklik.network.cz>2010-01-27 22:26:45 +0100
commit7515dafc006f8b71bc15aa7ed9749c7d4fb00153 (patch)
tree99078786868a52b79d43e3ab65918681c9357789 /filter
parent6cb8f742f1adf99881334b8ae21c398d98571aa1 (diff)
downloadbird-7515dafc006f8b71bc15aa7ed9749c7d4fb00153.tar
bird-7515dafc006f8b71bc15aa7ed9749c7d4fb00153.zip
Allow multiple || and && statements.
Diffstat (limited to 'filter')
-rw-r--r--filter/test.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 7114fd2..657209a 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -149,7 +149,7 @@ string s;
is = [ 2, 3, 4, 7..11 ];
print " must be true: ", 1.2.0.0/16 ~ [ 1.0.0.0/8{ 15 , 17 } ];
print " data types; must be true: ", 1.2.3.4 = 1.2.3.4, ",", 1 ~ [1,2,3], ",", 5 ~ [1..20], ",", 10 ~ is, ",", 2 ~ [ 1, 2, 3 ], ",", 5 ~ [ 4 .. 7 ], ",", 1.2.3.4 ~ [ 1.2.3.3..1.2.3.5 ], ",", 1.2.3.4 ~ 1.0.0.0/8, ",", 1.0.0.0/8 ~ 1.0.0.0/8, ",", 1.0.0.0/8 ~ [ 1.0.0.0/8+ ];
- print " must be true: ", true && true, ",", true || false;
+ print " must be true: ", true && true, ",", true || false, ",", true || false || false;
# print " must be true: ", defined(1), ",", defined(1.2.3.4), ",", 1 != 2, ",", 1 <= 2;
print " data types: must be false: ", 1 ~ [ 2, 3, 4 ], ",", 5 ~ is, ",", 1.2.3.4 ~ [ 1.2.3.3, 1.2.3.5 ], ",", (1,2) > (2,2), ",", (1,1) > (1,1), ",", 1.0.0.0/9 ~ [ 1.0.0.0/8- ], ",", 1.2.0.0/17 ~ [ 1.0.0.0/8{ 15 , 16 } ], ",", true && false;