From 27821f6a5a1d469e878dc4d35a87475c6643141f Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Mon, 24 Apr 2017 18:22:29 +0000 Subject: [PATCH] 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[~]# --- vtysh/vtysh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5