From: Daniel Walton Date: Mon, 24 Apr 2017 18:22:29 +0000 (+0000) Subject: vtysh: "Command incomplete: log syslog" X-Git-Tag: frr-3.0-rc0~71^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F395%2Fhead;p=mirror%2Ffrr.git vtysh: "Command incomplete: log syslog" Signed-off-by: Daniel Walton Before ====== root@spine-1[~]# cat /etc/frr/frr.conf no log monitor ! service integrated-vtysh-config ! log syslog ! log syslog informational ! line vty ! root@spine-1[~]# root@spine-1[~]# vtysh -m -f /etc/frr/frr.conf no log monitor ! service integrated-vtysh-config ! line 5: % Command incomplete: log syslog root@spine-1[~]# After ===== root@spine-1[~]# vtysh -m -f /etc/frr/frr.conf no log monitor ! service integrated-vtysh-config ! log syslog ! log syslog informational ! line vty ! end root@spine-1[~]# --- diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index d0038ea3cf..74f865b613 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2165,7 +2165,7 @@ DEFUNSH (VTYSH_ALL, DEFUNSH (VTYSH_ALL, vtysh_log_syslog, vtysh_log_syslog_cmd, - "log syslog ", + "log syslog []", "Logging control\n" "Set syslog logging level\n" LOG_LEVEL_DESC)