Skip to content

Commit

Permalink
Merge pull request FRRouting#15804 from FRRouting/mergify/bp/stable/1…
Browse files Browse the repository at this point in the history
…0.0/pr-15798

vtysh: Fix `show route-map` command when calling via `do` (backport FRRouting#15798)
  • Loading branch information
idryzhov authored Apr 21, 2024
2 parents 0c8c1e2 + d70ebb5 commit 0902aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vtysh/vtysh.c
Original file line number Diff line number Diff line change
Expand Up @@ -3423,7 +3423,7 @@ static void show_route_map_send(const char *route_map, bool json)
bool first = true;
char command_line[128];

snprintf(command_line, sizeof(command_line), "show route-map ");
snprintf(command_line, sizeof(command_line), "do show route-map ");
if (route_map)
strlcat(command_line, route_map, sizeof(command_line));
if (json)
Expand Down

0 comments on commit 0902aff

Please sign in to comment.