summaryrefslogtreecommitdiff
path: root/ldpd/ldpe.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-04-18 12:04:44 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-04-24 20:30:58 -0300
commitfa68f9da9e0589ef257b216b5108c8ce3d7a9ded (patch)
treef29ec44998ed0960b3ffefe0a9165369e2a1e701 /ldpd/ldpe.c
parent94f6a203b7f0c9542fbacf796575e9a405547d9d (diff)
ldpd: split log.c into two files
This is basically to keep in sync with OpenBSD's ldpd(8) where the same change was done. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/ldpe.c')
-rw-r--r--ldpd/ldpe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/ldpe.c b/ldpd/ldpe.c
index 1bec3d2a95..e82416276b 100644
--- a/ldpd/ldpe.c
+++ b/ldpd/ldpe.c
@@ -113,6 +113,7 @@ ldpe(const char *user, const char *group, const char *ctl_path)
setproctitle("ldp engine");
#endif
ldpd_process = PROC_LDP_ENGINE;
+ log_procname = log_procnames[ldpd_process];
LIST_INIT(&global.addr_list);
RB_INIT(&global.adj_tree);