SHA256
1
0
forked from pool/bird
bird/log-commit.patch

13 lines
397 B
Diff
Raw Permalink Normal View History

Index: bird-2.14/sysdep/unix/log.c
===================================================================
--- bird-2.14.orig/sysdep/unix/log.c
+++ bird-2.14/sysdep/unix/log.c
@@ -160,6 +160,7 @@ log_commit(int class, buffer *buf)
strcpy(buf->end - 100, " ... <too long>");
log_lock();
+ if (current_log_list)
WALK_LIST(l, *current_log_list)
{
if (!(l->mask & (1 << class)))