diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-21 01:02:02 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-21 01:26:15 +0100 |
commit | 7f9adc7c67d0b7a64bdd575a7172df9692f5499b (patch) | |
tree | cccdb1e1f42e53f0ebcf9339cb67b74b759093cd /lib | |
parent | pimd: Add 'test pim keepalive-reset A.B.C.D A.B.C.D' command (diff) | |
download | frr-7f9adc7c67d0b7a64bdd575a7172df9692f5499b.tar.xz frr-7f9adc7c67d0b7a64bdd575a7172df9692f5499b.zip |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index 0faaa426a..a5f9616db 100644 --- a/lib/command.h +++ b/lib/command.h @@ -318,6 +318,9 @@ struct cmd_node { #define DEFPY_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 */ /* Some macroes */ |