Skip to content

Commit

Permalink
Merge pull request #14677 from FRRouting/mergify/bp/dev/9.1/pr-14665
Browse files Browse the repository at this point in the history
pbrd: fix show pbr map detail json (backport #14665)
  • Loading branch information
donaldsharp authored Oct 29, 2023
2 parents 9923418 + b3a7641 commit 66ef808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/user/pbr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ specified in the rule are also applied to the packet.
this action,
so this field will be ignored unless another dataplane provider is used.

.. clicmd:: show pbr map [NAME] [detail|json]
.. clicmd:: show pbr map [NAME] [detail] [json]

Display pbr maps either all or by ``NAME``. If ``detail`` is set, it will
give information about each rule's unique internal ID and some extra
Expand Down
2 changes: 1 addition & 1 deletion pbrd/pbr_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,7 @@ static void vty_json_pbr_map(json_object *j, struct vty *vty,

DEFPY (show_pbr_map,
show_pbr_map_cmd,
"show pbr map [NAME$name] [detail$detail|json$json]",
"show pbr map [NAME$name] [detail$detail] [json$json]",
SHOW_STR
PBR_STR
"PBR Map\n"
Expand Down

0 comments on commit 66ef808

Please sign in to comment.