projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b7436
)
Fix typo in ubus integration
author
Steven Barth
<steven@midlink.org>
Mon, 21 Jul 2014 21:58:07 +0000
(23:58 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 21 Jul 2014 21:58:07 +0000
(23:58 +0200)
src/ubus.c
patch
|
blob
|
history
diff --git
a/src/ubus.c
b/src/ubus.c
index 9e7066303a503f195430d5d97d81ed89de6f35a5..fbe7e1af6e8f630424c395f90e9bf49c1a9ca11b 100644
(file)
--- 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])