summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-01-19 12:26:39 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-01-19 12:26:39 +0000
commitf8e67fb33213d46ba8c60eab42ee37056cf619c7 (patch)
tree150aa98994b80fba6160f3c9ad3a3dd156fb9205 /usr.sbin/dvmrpd/rde.c
parentbb027611161c80704e1505937bb846bd0171bd9f (diff)
Kill dvrmpd_process and log_procnames. Unneeded abstraction for this
simple daemon.
Diffstat (limited to 'usr.sbin/dvmrpd/rde.c')
-rw-r--r--usr.sbin/dvmrpd/rde.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/dvmrpd/rde.c b/usr.sbin/dvmrpd/rde.c
index fa7ef1d8a70..330b3f97866 100644
--- a/usr.sbin/dvmrpd/rde.c
+++ b/usr.sbin/dvmrpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.29 2016/09/02 16:20:34 benno Exp $ */
+/* $OpenBSD: rde.c,v 1.30 2021/01/19 12:26:38 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -97,8 +97,7 @@ rde(struct dvmrpd_conf *xconf, int pipe_parent2rde[2], int pipe_dvmrpe2rde[2],
fatal("chdir(\"/\")");
setproctitle("route decision engine");
- dvmrpd_process = PROC_RDE_ENGINE;
- log_procname = log_procnames[dvmrpd_process];
+ log_procname = "rde";
if (setgroups(1, &pw->pw_gid) ||
setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) ||