summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-03 16:50:51 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-10-03 16:51:05 +0200
commit5dd87fd8ad3a42c71d90a8fecc893af973e552bf (patch)
treee0255fd31ccfa52e96df6c6f9ca2a02d3b7d4702 /config.c
parent9585227f1141d9da5a3186df5e10c4521e65083e (diff)
downloadnetifd-5dd87fd8ad3a42c71d90a8fecc893af973e552bf.tar.gz
device: add macvlan support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 8db2b59..682db54 100644
--- a/config.c
+++ b/config.c
@@ -166,6 +166,8 @@ config_init_devices(void)
devtype = &bridge_device_type;
else if (!strcmp(type, "tunnel"))
devtype = &tunnel_device_type;
+ else if (!strcmp(type, "macvlan"))
+ devtype = &macvlan_device_type;
}
if (!devtype)