diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-10-15 14:02:12 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-10-15 14:02:12 +0000 |
commit | 292c565361f454d97f36299330e6c09b022f1a70 (patch) | |
tree | 0911db0b6d3a5305d15bce4784734f1771869af9 /usr.sbin/vmd/vmd.c | |
parent | 9e02ba4f8bb7e5a75f9b4d21173940a2dcb2c4ca (diff) |
Allow to add an interface to an interface group; with the group keyword.
Requested and tested by martijn@
Diffstat (limited to 'usr.sbin/vmd/vmd.c')
-rw-r--r-- | usr.sbin/vmd/vmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/vmd/vmd.c b/usr.sbin/vmd/vmd.c index 056b8dec336..352ac4d6318 100644 --- a/usr.sbin/vmd/vmd.c +++ b/usr.sbin/vmd/vmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmd.c,v 1.34 2016/10/12 19:10:03 reyk Exp $ */ +/* $OpenBSD: vmd.c,v 1.35 2016/10/15 14:02:11 reyk Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -550,6 +550,7 @@ vm_remove(struct vmd_vm *vm) close(vm->vm_ifs[i].vif_fd); free(vm->vm_ifs[i].vif_name); free(vm->vm_ifs[i].vif_switch); + free(vm->vm_ifs[i].vif_group); } if (vm->vm_kernel != -1) close(vm->vm_kernel); |