summaryrefslogtreecommitdiff
path: root/doc/bird.sgml
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-02-16 17:33:58 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-02-16 17:33:58 +0100
commit9c9cc35c0273f8bcae10fb8b546d199514b2bbc5 (patch)
tree060b7ebe4012294ee4468a47cb4e73e3f6b1f0c1 /doc/bird.sgml
parentc2106b674ca632f7c0bffd7cab4b1940f74d353c (diff)
Filter: Implement last_nonaggregated operator on bgp_path
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 86df0456..c5316d87 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1119,9 +1119,12 @@ foot).
<cf><m/P/.last</cf> returns the last ASN (the source ASN) in path <m/P/.
+ <cf><m/P/.last_nonaggregated</cf> returns the last ASN in the non-aggregated part of the path <m/P/.
+
Both <cf/first/ and <cf/last/ return zero if there is no appropriate
ASN, for example if the path contains an AS set element as the first (or
- the last) part.
+ the last) part. If the path ends with an AS set, <cf/last_nonaggregated/
+ may be used to get last ASN before any AS set.
<cf><m/P/.len</cf> returns the length of path <m/P/.