summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-01-24 18:59:03 +0100
committerDavid Lamparter <equinox@diac24.net>2019-01-24 19:06:00 +0100
commitd4160947d9e7c17de32f950212b6a5a5e536bf27 (patch)
tree84daf86d7cd844d190ed1ba23b6ee37a57981a6d /lib/command.c
parentc8d3e7955417ac882dd9b078011c52ee97c3577a (diff)
lib: don't disable "log file" on "log syslog"
FRR log targets are independent, so "log syslog" must not disable "log file" output. Fixes: #3551 Fixes: 0204baa87630b210c71d9ae0e2569cff0fb0539b Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index cae7054467..06879f6854 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2515,8 +2515,6 @@ DEFUN (config_log_syslog,
{
int idx_log_levels = 2;
- disable_log_file();
-
if (argc == 3) {
int level;
if ((level = level_match(argv[idx_log_levels]->arg))