[LEDE-DEV] [PATCH netifd 4/7] tunnel: Use tunnel as device type name

Hans Dedecker dedeckeh at gmail.com
Fri Sep 23 06:08:20 PDT 2016


Fixes creation of tunnel devices by UCI due to device handlers rework

Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
 tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tunnel.c b/tunnel.c
index 32f3613..3fa3e21 100644
--- a/tunnel.c
+++ b/tunnel.c
@@ -90,7 +90,7 @@ tunnel_free(struct device *dev)
 }
 
 struct device_type tunnel_device_type = {
-	.name = "IP tunnel",
+	.name = "tunnel",
 	.config_params = &tunnel_attr_list,
 	.reload = tunnel_reload,
 	.create = tunnel_create,
-- 
1.9.1




More information about the Lede-dev mailing list