summaryrefslogtreecommitdiff
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-17 11:34:38 +0000
committerPavel Machek <pavel@ucw.cz>2000-04-17 11:34:38 +0000
commit9c400ec9dd0ee74f1f350ead87dcd7366dbab7b1 (patch)
tree8a610e3d07c2004248bd0b247c7a7b2d9af1585d /filter/test.conf
parente3558ab14ee60c8c9792bc3ed54d9f0c3eaa8ea8 (diff)
Int sets moved to core. It is now possible to have variable of type clist.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/filter/test.conf b/filter/test.conf
index a39e6a3d..abe9d3fd 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -32,6 +32,7 @@ function fifteen()
function paths()
bgpmask p;
bgppath p2;
+clist l;
{
p = / 4 3 2 1 /;
print "Testing path masks: ", p;
@@ -46,6 +47,10 @@ bgppath p2;
print "Should be false: ", p2 ~ p;
print "Should be true: ", p2 ~ / * 4 3 2 1 /, p2, / * 4 3 2 1 /;
print "5 = ", p2.len;
+
+ l = - empty -;
+ l = add( l, (1,2) );
+ print "Community list ", l;
}
function startup()