Skip to content

Commit

Permalink
Merge pull request #14665 from chiragshah6/pbr_dev
Browse files Browse the repository at this point in the history
pbrd: fix show pbr map detail json
  • Loading branch information
ton31337 authored Oct 29, 2023
2 parents 2fef201 + df3d91f commit 539124f
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 539124f

Please sign in to comment.