mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 22:00:41 +00:00
Merge pull request #15798 from opensourcerouting/fix/show_route_map
vtysh: Fix `show route-map` command when calling via `do`
This commit is contained in:
commit
0ff8034e9a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user