mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 20:06:06 +00:00
lib: sandbox: print vtysh daemon targets
This is very useful to check whether a command disappeared from a specific daemon (by comparing against an earlier output of "grammar find-ambiguous printall nodescan") Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
2f834b3561
commit
90e40ab024
@ -411,7 +411,7 @@ DEFUN (grammar_findambig,
|
||||
{
|
||||
int same = prev && !strcmp (prev->cmd, cur->cmd);
|
||||
if (printall && !same)
|
||||
vty_out (vty, "'%s'%s", cur->cmd, VTY_NEWLINE);
|
||||
vty_out (vty, "'%s' [%x]%s", cur->cmd, cur->el->daemon, VTY_NEWLINE);
|
||||
if (same)
|
||||
{
|
||||
vty_out (vty, "'%s' AMBIGUOUS:%s", cur->cmd, VTY_NEWLINE);
|
||||
|
Loading…
Reference in New Issue
Block a user