Merge pull request #14677 from FRRouting/mergify/bp/dev/9.1/pr-14665

pbrd: fix show pbr map detail json (backport #14665)
This commit is contained in:
Donald Sharp 2023-10-29 10:04:33 -04:00 committed by GitHub
commit 66ef808bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ specified in the rule are also applied to the packet.
this action, this action,
so this field will be ignored unless another dataplane provider is used. 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 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 give information about each rule's unique internal ID and some extra

View File

@ -1818,7 +1818,7 @@ static void vty_json_pbr_map(json_object *j, struct vty *vty,
DEFPY (show_pbr_map, DEFPY (show_pbr_map,
show_pbr_map_cmd, show_pbr_map_cmd,
"show pbr map [NAME$name] [detail$detail|json$json]", "show pbr map [NAME$name] [detail$detail] [json$json]",
SHOW_STR SHOW_STR
PBR_STR PBR_STR
"PBR Map\n" "PBR Map\n"