summaryrefslogtreecommitdiff
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-17 11:06:39 +0000
committerPavel Machek <pavel@ucw.cz>2000-04-17 11:06:39 +0000
commit684c6f5a0e134426159be7dbd514271aea9f4d3d (patch)
tree0e5acd2b882f7e05365d6e50a3a6fcc2f41ed974 /filter/test.conf
parentecd25633bdc3e491a0eca44c63c158eeff388f13 (diff)
Path_getlen moved to nest and length was made callable from filters.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/test.conf b/filter/test.conf
index a31c7f2d..a39e6a3d 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -41,9 +41,11 @@ bgppath p2;
p2 = prepend( p2, 4 );
print "Testing paths: ", p2;
print "Should be true: ", p2 ~ p;
+ print "4 = ", p2.len;
p2 = prepend( p2, 5 );
print "Should be false: ", p2 ~ p;
print "Should be true: ", p2 ~ / * 4 3 2 1 /, p2, / * 4 3 2 1 /;
+ print "5 = ", p2.len;
}
function startup()