projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b48da
)
ubus: fix displaying interface data items
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 20 Mar 2014 20:02:02 +0000
(21:02 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 20 Mar 2014 20:02:02 +0000
(21:02 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index b81136b6d4a1207ea12436e8247b5cf6af88018f..63b26d679b4378f794c7654e7597d896920eb706 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-737,7
+737,7
@@
netifd_dump_status(struct interface *iface)
a = blobmsg_open_table(&b, "data");
avl_for_each_element(&iface->data, data, node)
- blob
_put(&b, blob_id(data->data), blob_data(data->data), blob_len(data->data)
);
+ blob
msg_add_blob(&b, data->data
);
blobmsg_close_table(&b, a);