rename the network.interface ubus object to just network
[project/netifd.git] / ubus.c
diff --git a/ubus.c b/ubus.c
index da00b80..973718c 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -78,7 +78,7 @@ static struct ubus_object_type main_object_type =
        UBUS_OBJECT_TYPE("netifd", main_object_methods);
 
 static struct ubus_object main_object = {
-       .name = "network.interface",
+       .name = "network",
        .type = &main_object_type,
        .methods = main_object_methods,
        .n_methods = ARRAY_SIZE(main_object_methods),