summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-09-23 15:08:19 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-26 11:51:19 +0200
commit9905bd411c13ff151cf90ddf9ea3041c5f0e56fb (patch)
treef0a30eeb42226d13b8f2667e2345a8433be2b38b
parenta5c57037d6da0e0f739c83767bd051acad282c4d (diff)
macvlan: Use macvlan as device type name
Fixes creation of macvlan devices by UCI due to device handlers rework Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r--macvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macvlan.c b/macvlan.c
index 01a48cd..021d394 100644
--- a/macvlan.c
+++ b/macvlan.c
@@ -254,7 +254,7 @@ macvlan_create(const char *name, struct device_type *devtype,
}
static struct device_type macvlan_device_type = {
- .name = "MAC VLAN",
+ .name = "macvlan",
.config_params = &macvlan_attr_list,
.create = macvlan_create,
.config_init = macvlan_config_init,