summaryrefslogtreecommitdiff
path: root/ubus.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-11 14:44:19 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-11 15:23:47 +0200
commit5d4ed8a855022394bc002c42f42b1656c2cba06f (patch)
treea63d65e643bc8b91e8fd9eede0de6c6b5aa3fa51 /ubus.c
parent41842d3f91733786cb4d2bcdc6ca0c3a1a1c594b (diff)
downloadnetifd-5d4ed8a855022394bc002c42f42b1656c2cba06f.tar.gz
rename the network.interface ubus object to just network
Diffstat (limited to 'ubus.c')
-rw-r--r--ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubus.c b/ubus.c
index da00b80..973718c 100644
--- 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),