diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-15 18:34:31 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-19 14:43:59 +0200 |
commit | 1f1432364911625d5abd6384b190a2d75c37120f (patch) | |
tree | e1733c859f5a40d940ec0020937f2dd41a6e2f58 /vtysh | |
parent | ldpd: Schedule application of config till after read-in (diff) | |
download | frr-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')
-rw-r--r-- | vtysh/vtysh.c | 5 |
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; } |