-/* $OpenBSD: config.c,v 1.58 2019/05/11 19:55:14 jasper Exp $ */
+/* $OpenBSD: config.c,v 1.59 2021/02/28 22:56:09 dlg Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
#include "vmd.h"
/* Supported bridge types */
-const char *vmd_descsw[] = { "switch", "bridge", NULL };
+const char *vmd_descsw[] = { "switch", "bridge", "veb", NULL };
static int config_init_localprefix(struct vmd_config *);
-/* $OpenBSD: priv.c,v 1.15 2019/06/28 13:32:51 deraadt Exp $ */
+/* $OpenBSD: priv.c,v 1.16 2021/02/28 22:56:09 dlg Exp $ */
/*
* Copyright (c) 2016 Reyk Floeter <reyk@openbsd.org>
int
priv_dispatch_parent(int fd, struct privsep_proc *p, struct imsg *imsg)
{
- const char *desct[] = { "tap", "switch", "bridge", NULL };
+ const char *desct[] = { "tap", "switch", "bridge",
+ "veb", NULL };
struct privsep *ps = p->p_ps;
struct vmop_ifreq vfr;
struct vmd *env = ps->ps_env;