diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-04-24 20:22:29 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-04-24 20:22:29 +0200 |
commit | 27821f6a5a1d469e878dc4d35a87475c6643141f (patch) | |
tree | 2266edec1fe811514f96f25dd46f40a1e326b8e1 /vtysh/vtysh.c | |
parent | Merge pull request #294 from opensourcerouting/modules (diff) | |
download | frr-27821f6a5a1d469e878dc4d35a87475c6643141f.tar.xz frr-27821f6a5a1d469e878dc4d35a87475c6643141f.zip |
vtysh: "Command incomplete: log syslog"
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
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[~]#
Diffstat (limited to '')
-rw-r--r-- | vtysh/vtysh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index d0038ea3c..74f865b61 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 <emergencies|alerts|critical|errors|warnings|notifications|informational|debugging>", + "log syslog [<emergencies|alerts|critical|errors|warnings|notifications|informational|debugging>]", "Logging control\n" "Set syslog logging level\n" LOG_LEVEL_DESC) |