summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-15 18:34:31 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 14:43:59 +0200
commit1f1432364911625d5abd6384b190a2d75c37120f (patch)
treee1733c859f5a40d940ec0020937f2dd41a6e2f58 /vtysh/vtysh.c
parentldpd: Schedule application of config till after read-in (diff)
downloadfrr-1f1432364911625d5abd6384b190a2d75c37120f.tar.xz
frr-1f1432364911625d5abd6384b190a2d75c37120f.zip
vtysh: Fix 'no log syslog ..' to be correct
The vtysh version of `no log syslog...` was out of sync with what is actually correct. Fix. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 309493b13..0c3d84f38 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2415,10 +2415,11 @@ DEFUNSH(VTYSH_ALL, vtysh_log_syslog, vtysh_log_syslog_cmd,
}
DEFUNSH(VTYSH_ALL, no_vtysh_log_syslog, no_vtysh_log_syslog_cmd,
- "no log syslog [LEVEL]", NO_STR
+ "no log syslog [<emergencies|alerts|critical|errors|warnings|notifications|informational|debugging>]",
+ NO_STR
"Logging control\n"
"Cancel logging to syslog\n"
- "Logging level\n")
+ LOG_LEVEL_DESC)
{
return CMD_SUCCESS;
}