mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
lib: Fix missed code
When converting to new format we missed some code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
098c0eb8f4
commit
cf7466acdd
@ -27,6 +27,7 @@
|
|||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "memory_vty.h"
|
#include "memory_vty.h"
|
||||||
#include "zclient.h"
|
#include "zclient.h"
|
||||||
|
#include "log_int.h"
|
||||||
|
|
||||||
const char frr_sysconfdir[] = SYSCONFDIR;
|
const char frr_sysconfdir[] = SYSCONFDIR;
|
||||||
const char frr_vtydir[] = DAEMON_VTY_DIR;
|
const char frr_vtydir[] = DAEMON_VTY_DIR;
|
||||||
@ -303,7 +304,7 @@ struct thread_master *frr_init(void)
|
|||||||
openzlog (di->progname, di->logname, di->instance,
|
openzlog (di->progname, di->logname, di->instance,
|
||||||
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);
|
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);
|
||||||
#if defined(HAVE_CUMULUS)
|
#if defined(HAVE_CUMULUS)
|
||||||
zlog_set_level (NULL, ZLOG_DEST_SYSLOG, zlog_default->default_lvl);
|
zlog_set_level (ZLOG_DEST_SYSLOG, zlog_default->default_lvl);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
zprivs_init(di->privs);
|
zprivs_init(di->privs);
|
||||||
|
Loading…
Reference in New Issue
Block a user