summaryrefslogtreecommitdiff
path: root/usr.sbin/switchd/ofcconn.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/switchd/ofcconn.c')
-rw-r--r--usr.sbin/switchd/ofcconn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/switchd/ofcconn.c b/usr.sbin/switchd/ofcconn.c
index 8a90fc0366e..3881b333f29 100644
--- a/usr.sbin/switchd/ofcconn.c
+++ b/usr.sbin/switchd/ofcconn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofcconn.c,v 1.1 2016/07/19 16:54:26 reyk Exp $ */
+/* $OpenBSD: ofcconn.c,v 1.2 2016/07/19 17:31:22 reyk Exp $ */
/*
* Copyright (c) 2016 YASUOKA Masahiko <yasuoka@openbsd.org>
@@ -78,6 +78,7 @@ int ofcconn_say_hello(struct ofcconn *);
pid_t
ofcconn_proc_init(struct privsep *ps, struct privsep_proc *p)
{
+ p->p_shutdown = ofcconn_proc_shutdown;
return (proc_run(ps, p, procs, nitems(procs), NULL, NULL));
}