summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-06-26 17:09:24 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-06-26 17:09:24 +0200
commite08d2ff08e4cff4bec38878e084fee7666caaaf2 (patch)
treece71db48fcc7062dbe38a117faa69e4a53ba37e7 /doc
parent35f8c731ea29bd534c74b2d0de089d5683ebcd8d (diff)
Adds filter clist operation.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index fbda9f49..8a8c2275 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -849,10 +849,15 @@ incompatible with each other (that is to prevent you from shooting in the foot).
operator deletes all items from clist <m/C/ that are also
members of set <m/P/.
- Statement <cf><m/C/ = add(<m/C/, <m/P/);</cf> can be shortened to
- <cf><m/C/.add(<m/P/);</cf> if <m/C/ is appropriate route attribute
- (for example <cf/bgp_community/). Similarly for <cf/delete/.
+ <cf>filter(<m/C/,<m/P/)</cf> deletes all items from clist
+ <m/C/ that are not members of pair (or quad) set <m/P/.
+ I.e., <cf/filter/ do the same as <cf/delete/ with inverted
+ set <m/P/.
+ Statement <cf><m/C/ = add(<m/C/, <m/P/);</cf> can be shortened to
+ <cf><m/C/.add(<m/P/);</cf> if <m/C/ is appropriate route
+ attribute (for example <cf/bgp_community/). Similarly for
+ <cf/delete/ and <cf/filter/.
</descrip>
<sect>Operators