diff options
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r-- | doc/bird.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml index ee4697e..239e65b 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -525,13 +525,13 @@ incompatible with each other (that is to prevent you from shooting in the foot). <tag/bgpmask/ BGP masks are patterns used for BGP path matching - (using <cf>path ˜ |2 3 5 *|</cf> syntax). The masks + (using <cf>path ˜ [= 2 3 5 * =]</cf> syntax). The masks resemble wildcard patterns as used by UNIX shells. Autonomous system numbers match themselves, <cf/*/ matches any (even empty) - sequence of arbitrary AS numbers. For example: - <tt>|4 3 2 1| ˜ |? 4 3 *|</tt> is true, but - <tt>|4 3 2 1| ˜ |? 4 5 *|</tt> is false. - There is also old syntax that uses / instead of | and ? instead of *. + sequence of arbitrary AS numbers. For example, if <cf>bgp_path</cf> is 4 3 2 1, then: + <tt>bgp_path ˜ [= * 4 3 * =]</tt> is true, but + <tt>bgp_path ˜ [= * 4 5 * =]</tt> is false. + There is also old syntax that uses / .. / instead of [= .. =] and ? instead of *. <tag/clist/ Community list is similar to set of pairs, except that unlike other sets, it can be modified. |