mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 22:37:49 +00:00
vty: use 'do' for show memory and show modules
show mem and show modules won't work in config modes without passing 'do' to other running daemons. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
8a87a46d7f
commit
d991a3ea84
@ -2162,7 +2162,7 @@ DEFUN (vtysh_show_memory,
|
||||
SHOW_STR
|
||||
"Memory statistics\n")
|
||||
{
|
||||
return show_per_daemon("show memory\n", "Memory statistics for %s:\n");
|
||||
return show_per_daemon("do show memory\n", "Memory statistics for %s:\n");
|
||||
}
|
||||
|
||||
DEFUN (vtysh_show_modules,
|
||||
@ -2171,7 +2171,7 @@ DEFUN (vtysh_show_modules,
|
||||
SHOW_STR
|
||||
"Loaded modules\n")
|
||||
{
|
||||
return show_per_daemon("show modules\n",
|
||||
return show_per_daemon("do show modules\n",
|
||||
"Module information for %s:\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user