summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/eigrpd.c
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2016-09-02 18:00:08 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2016-09-02 18:00:08 +0000
commit2d2cc2c34dbf94a5bbeea934f0d601dcc75274df (patch)
tree0751b144e494b7c4c30d96f7b3e5059d5453f32d /usr.sbin/eigrpd/eigrpd.c
parentf8e05a200e1fadb7d687cb41bc3892e785cd8a6e (diff)
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@
Diffstat (limited to 'usr.sbin/eigrpd/eigrpd.c')
-rw-r--r--usr.sbin/eigrpd/eigrpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/eigrpd/eigrpd.c b/usr.sbin/eigrpd/eigrpd.c
index 56f9b766a4e..6e5d5ddf6da 100644
--- a/usr.sbin/eigrpd/eigrpd.c
+++ b/usr.sbin/eigrpd/eigrpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrpd.c,v 1.20 2016/09/02 16:44:33 renato Exp $ */
+/* $OpenBSD: eigrpd.c,v 1.21 2016/09/02 17:59:58 benno Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -111,6 +111,7 @@ main(int argc, char *argv[])
conffile = CONF_FILE;
eigrpd_process = PROC_MAIN;
+ log_procname = log_procnames[eigrpd_process];
sockname = EIGRPD_SOCKET;
log_init(1); /* log to stderr until daemonized */