summaryrefslogtreecommitdiffstats
path: root/lib/log_vty.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-04-13 23:24:44 +0200
committerDavid Lamparter <equinox@diac24.net>2021-04-15 23:12:45 +0200
commit48843422d3433682d8b14e9224dd71aeb82afb63 (patch)
treed072ad46e4e437170e279090a340d1689f20ffb6 /lib/log_vty.c
parentvtysh: fix extract.pl for commands with "_cmd" (diff)
downloadfrr-48843422d3433682d8b14e9224dd71aeb82afb63.tar.xz
frr-48843422d3433682d8b14e9224dd71aeb82afb63.zip
vtysh: add lib/log_vty.c to vtysh_scan
Rather than copying everything over, include the file in vtysh_scan for automatic pickup. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/log_vty.c')
-rw-r--r--lib/log_vty.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/log_vty.c b/lib/log_vty.c
index c26621ae9..c6788dd35 100644
--- a/lib/log_vty.c
+++ b/lib/log_vty.c
@@ -146,11 +146,11 @@ void log_show_syslog(struct vty *vty)
zlog_progname);
}
-DEFUN (show_logging,
- show_logging_cmd,
- "show logging",
- SHOW_STR
- "Show current logging configuration\n")
+DEFUN_NOSH (show_logging,
+ show_logging_cmd,
+ "show logging",
+ SHOW_STR
+ "Show current logging configuration\n")
{
log_show_syslog(vty);