]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Document 'empty' operator
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 13 Sep 2017 11:10:50 +0000 (13:10 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 13 Sep 2017 11:10:50 +0000 (13:10 +0200)
Thanks to Alexander Zubkov for the notification.

doc/bird.sgml

index 03d37f46a3b7319231e2a58c7ed732f4bf853360..c549e3c3db2ef43845bf5617f365924cfe675b80 100644 (file)
@@ -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