summaryrefslogtreecommitdiffhomepage
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index 1d04efd..515e646 100644
--- a/config.c
+++ b/config.c
@@ -173,6 +173,10 @@ config_init_devices(void)
devtype = &tunnel_device_type;
else if (!strcmp(type, "macvlan"))
devtype = &macvlan_device_type;
+ else if (!strcmp(type, "8021ad"))
+ devtype = &vlandev_device_type;
+ else if (!strcmp(type, "8021q"))
+ devtype = &vlandev_device_type;
}
if (!devtype)