diff options
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 5 |
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() |