mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 22:10:19 +00:00
ldpd: call openzlog() in the child processes as well
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
a9916d2bf3
commit
03e5758c65
@ -282,14 +282,14 @@ main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
openzlog(ldpd_di.progname, "LDP", 0,
|
||||
LOG_CONS | LOG_NDELAY | LOG_PID, LOG_DAEMON);
|
||||
|
||||
if (lflag)
|
||||
lde(user, group, instance);
|
||||
else if (eflag)
|
||||
ldpe(user, group, ctl_sock_path);
|
||||
|
||||
openzlog(ldpd_di.progname, "LDP", 0,
|
||||
LOG_CONS | LOG_NDELAY | LOG_PID, LOG_DAEMON);
|
||||
|
||||
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_parent2ldpe) == -1)
|
||||
fatal("socketpair");
|
||||
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC,
|
||||
|
Loading…
Reference in New Issue
Block a user