summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-07-21 23:58:07 +0200
committerSteven Barth <steven@midlink.org>2014-07-21 23:58:07 +0200
commitd167decf6d29cb39679f485d8b97ced815d5c8bb (patch)
tree2b1e649294974a9be68bd551c6f60a57a330d1f4 /src/ubus.c
parentd2b74369ddd2eaeef7d36baed53f709c98c490b0 (diff)
Fix typo in ubus integration
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 9e70663..fbe7e1a 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -177,7 +177,7 @@ static const struct blobmsg_policy iface_attrs[IFACE_ATTR_MAX] = {
static void handle_dump(_unused struct ubus_request *req, _unused int type, struct blob_attr *msg)
{
- struct blob_attr *tb[DUMP_ATTR_INTERFACE];
+ struct blob_attr *tb[DUMP_ATTR_MAX];
blobmsg_parse(dump_attrs, DUMP_ATTR_MAX, tb, blob_data(msg), blob_len(msg));
if (!tb[DUMP_ATTR_INTERFACE])