diff options
Diffstat (limited to 'sbin/iked/iked.c')
-rw-r--r-- | sbin/iked/iked.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 11b54ca930d..8ebedb2e837 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.c,v 1.30 2015/12/07 12:46:37 reyk Exp $ */ +/* $OpenBSD: iked.c,v 1.31 2016/09/04 16:55:43 reyk Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -391,6 +391,12 @@ parent_dispatch_control(int fd, struct privsep_proc *p, struct imsg *imsg) parent_reload(env, 0, str); free(str); break; + case IMSG_CTL_VERBOSE: + proc_forward_imsg(&env->sc_ps, imsg, PROC_IKEV2, -1); + proc_forward_imsg(&env->sc_ps, imsg, PROC_CERT, -1); + + /* return 1 to let proc.c handle it locally */ + return (1); default: return (-1); } |