rename the network.interface ubus object to just network
authorFelix Fietkau <nbd@openwrt.org>
Tue, 11 Oct 2011 12:44:19 +0000 (14:44 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 11 Oct 2011 13:23:47 +0000 (15:23 +0200)
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),