From: Steven Barth Date: Mon, 21 Jul 2014 21:58:07 +0000 (+0200) Subject: Fix typo in ubus integration X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d167decf6d29cb39679f485d8b97ced815d5c8bb;p=oweals%2Fodhcpd.git Fix typo in ubus integration --- 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])