summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-13 13:10:50 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-13 13:10:50 +0200
commit18ea2ea759963a68a1a9f82d50aa9ed90b128df9 (patch)
tree777b9e6689e066e7bbcf94169f513c8dec2ef51f /doc
parentf2dd602fef2ecf0a6598b817d71ce2ee8fadd5cc (diff)
Doc: Document 'empty' operator
Thanks to Alexander Zubkov for the notification.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 03d37f46..c549e3c3 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1196,6 +1196,8 @@ foot).
<cf><m/P/.len</cf> returns the length of path <m/P/.
+ <cf><m/P/.empty</cf> resets path <m/P/ to empty path.
+
<cf>prepend(<m/P/,<m/A/)</cf> prepends ASN <m/A/ to path <m/P/ and
returns the result.
@@ -1234,6 +1236,8 @@ foot).
<cf><m/C/.len</cf> returns the length of clist <m/C/.
+ <cf><m/C/.empty</cf> resets clist <m/C/ to empty clist.
+
<cf>add(<m/C/,<m/P/)</cf> adds pair (or quad) <m/P/ to clist <m/C/ and
returns the result. If item <m/P/ is already in clist <m/C/, it does
nothing. <m/P/ may also be a clist, in that case all its members are