diff options
author | reyk <reyk@openbsd.org> | 2016-10-12 19:10:03 +0000 |
---|---|---|
committer | reyk <reyk@openbsd.org> | 2016-10-12 19:10:03 +0000 |
commit | 1f7fe034fc219c994ea2c612a3a6031d48e24b62 (patch) | |
tree | ab08720e0749d697798264699894105e4d400e30 /usr.sbin/vmd/control.c | |
parent | Start reworking the "device" support in switchd: Once connected, a (diff) | |
download | wireguard-openbsd-1f7fe034fc219c994ea2c612a3a6031d48e24b62.tar.xz wireguard-openbsd-1f7fe034fc219c994ea2c612a3a6031d48e24b62.zip |
Fix functionality and semantics of vmctl load/reload/reset.
OK rzalamena@
Diffstat (limited to 'usr.sbin/vmd/control.c')
-rw-r--r-- | usr.sbin/vmd/control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/vmd/control.c b/usr.sbin/vmd/control.c index 2dc01389bda..d370254f8e8 100644 --- a/usr.sbin/vmd/control.c +++ b/usr.sbin/vmd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.8 2016/09/29 22:42:04 reyk Exp $ */ +/* $OpenBSD: control.c,v 1.9 2016/10/12 19:10:03 reyk Exp $ */ /* * Copyright (c) 2010-2015 Reyk Floeter <reyk@openbsd.org> @@ -367,6 +367,7 @@ control_dispatch_imsg(int fd, short event, void *arg) break; case IMSG_VMDOP_LOAD: case IMSG_VMDOP_RELOAD: + case IMSG_CTL_RESET: proc_forward_imsg(ps, &imsg, PROC_PARENT, -1); break; default: |