mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 03:47:47 +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
|
SHOW_STR
|
||||||
"Memory statistics\n")
|
"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,
|
DEFUN (vtysh_show_modules,
|
||||||
@ -2171,7 +2171,7 @@ DEFUN (vtysh_show_modules,
|
|||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Loaded modules\n")
|
"Loaded modules\n")
|
||||||
{
|
{
|
||||||
return show_per_daemon("show modules\n",
|
return show_per_daemon("do show modules\n",
|
||||||
"Module information for %s:\n");
|
"Module information for %s:\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user