summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpe.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-04-18 17:04:44 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-04-25 01:30:58 +0200
commitfa68f9da9e0589ef257b216b5108c8ce3d7a9ded (patch)
treef29ec44998ed0960b3ffefe0a9165369e2a1e701 /ldpd/ldpe.c
parentMerge pull request #345 from chiragshah6/pim_dev (diff)
downloadfrr-fa68f9da9e0589ef257b216b5108c8ce3d7a9ded.tar.xz
frr-fa68f9da9e0589ef257b216b5108c8ce3d7a9ded.zip
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 1bec3d2a9..e82416276 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);