summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-04-20 09:05:39 -0400
committerGitHub <noreply@github.com>2024-04-20 09:05:39 -0400
commit0ff8034e9a3da9a2f2804e666bb8cd2a88f1ee4b (patch)
tree83c37a795874536d612543bbd2f081d74fe0cd98
parent0605ec9f842185c6835980fd766d987a45b3f4cf (diff)
parent9b8f18a66cd53c506255c19829e5aada822e4ac8 (diff)
Merge pull request #15798 from opensourcerouting/fix/show_route_map
vtysh: Fix `show route-map` command when calling via `do`
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 1868910897..03e2428b9e 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -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)