mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 09:30:30 +00:00
lib: Allow DEFPY_HIDDEN to exist in vtysh
The DEFPY_HIDDEN commands were not being picked up into vtysh. Fix this issue. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
70fd22bd03
commit
7f9adc7c67
@ -318,6 +318,9 @@ struct cmd_node {
|
|||||||
|
|
||||||
#define DEFPY_ATTR(funcname, cmdname, cmdstr, helpstr, attr) \
|
#define DEFPY_ATTR(funcname, cmdname, cmdstr, helpstr, attr) \
|
||||||
DEFUN_ATTR(funcname, cmdname, cmdstr, helpstr, attr)
|
DEFUN_ATTR(funcname, cmdname, cmdstr, helpstr, attr)
|
||||||
|
|
||||||
|
#define DEFPY_HIDDEN(funcname, cmdname, cmdstr, helpstr) \
|
||||||
|
DEFUN_HIDDEN(funcname, cmdname, cmdstr, helpstr)
|
||||||
#endif /* VTYSH_EXTRACT_PL */
|
#endif /* VTYSH_EXTRACT_PL */
|
||||||
|
|
||||||
/* Some macroes */
|
/* Some macroes */
|
||||||
|
Loading…
Reference in New Issue
Block a user