From d167decf6d29cb39679f485d8b97ced815d5c8bb Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 21 Jul 2014 23:58:07 +0200 Subject: [PATCH] Fix typo in ubus integration --- src/ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.25.1