summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/ripd.c
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2016-09-02 14:08:51 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2016-09-02 14:08:51 +0000
commiteff2b1ee21adbbcb718ad14723c563e0a3b02400 (patch)
tree1da909e4203181555be1643dd612717059647ff8 /usr.sbin/ripd/ripd.c
parenta33a8ebe6426da1aabeb10ef00b5444de59a761d (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@, feedback from henning@, deraadt@, reyk@
Diffstat (limited to 'usr.sbin/ripd/ripd.c')
-rw-r--r--usr.sbin/ripd/ripd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ripd/ripd.c b/usr.sbin/ripd/ripd.c
index 1ffaf95146e..95bf8f56d5f 100644
--- a/usr.sbin/ripd/ripd.c
+++ b/usr.sbin/ripd/ripd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ripd.c,v 1.28 2016/08/02 16:05:32 jca Exp $ */
+/* $OpenBSD: ripd.c,v 1.29 2016/09/02 14:07:52 benno Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -128,6 +128,7 @@ main(int argc, char *argv[])
conffile = CONF_FILE;
ripd_process = PROC_MAIN;
+ log_procname = log_procnames[ripd_process];
sockname = RIPD_SOCKET;
log_init(1); /* log to stderr until daemonized */