summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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 fbda9f4..8a8c227 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