]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: correct route map match for prefix lists 3132/head
authorTore Anderson <tore@redpill-linpro.com>
Thu, 4 Oct 2018 11:32:20 +0000 (13:32 +0200)
committerTore Anderson <tore@redpill-linpro.com>
Fri, 5 Oct 2018 07:06:54 +0000 (09:06 +0200)
This corrects the route map documentation to add the missing "prefix-list"
keyword, which is necessary when matching against a prefix list (as opposed to
an access list).

Additionally, change hyphens for underscores in the variables the user is
supposed to substitute in those commands, to prevent any confusion with the
"prefix-list" keyword itself, and also to make it more consistent with the
other documented commands (which are already using underscores).

Signed-off-by: Tore Anderson <tore@redpill-linpro.com>
doc/user/routemap.rst

index 57b4875e23e6a2902da26a4080bb2ddf5b09c4e3..42a8250ae05dab766820451c20ea37ccba533fc6 100644 (file)
@@ -105,10 +105,10 @@ Route Map Match Command
 
    Matches the specified `access_list`
 
-.. index:: match ip address PREFIX-LIST
-.. clicmd:: match ip address PREFIX-LIST
+.. index:: match ip address prefix-list PREFIX_LIST
+.. clicmd:: match ip address prefix-list PREFIX_LIST
 
-   Matches the specified `prefix-list`
+   Matches the specified `PREFIX_LIST`
 
 .. index:: match ip address prefix-len 0-32
 .. clicmd:: match ip address prefix-len 0-32
@@ -120,10 +120,10 @@ Route Map Match Command
 
    Matches the specified `access_list`
 
-.. index:: match ipv6 address PREFIX-LIST
-.. clicmd:: match ipv6 address PREFIX-LIST
+.. index:: match ipv6 address prefix-list PREFIX_LIST
+.. clicmd:: match ipv6 address prefix-list PREFIX_LIST
 
-   Matches the specified `prefix-list`
+   Matches the specified `PREFIX_LIST`
 
 .. index:: match ipv6 address prefix-len 0-128
 .. clicmd:: match ipv6 address prefix-len 0-128