diff options
author | Steven Barth <steven@midlink.org> | 2014-07-21 23:58:07 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-07-21 23:58:07 +0200 |
commit | d167decf6d29cb39679f485d8b97ced815d5c8bb (patch) | |
tree | 2b1e649294974a9be68bd551c6f60a57a330d1f4 /src | |
parent | d2b74369ddd2eaeef7d36baed53f709c98c490b0 (diff) |
Fix typo in ubus integration
Diffstat (limited to 'src')
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |