From: Felix Fietkau Date: Thu, 20 Mar 2014 20:02:02 +0000 (+0100) Subject: ubus: fix displaying interface data items X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=559df99f259e88edaa7e45826a0ff436f2a07d1a;p=oweals%2Fnetifd.git ubus: fix displaying interface data items Signed-off-by: Felix Fietkau --- diff --git a/ubus.c b/ubus.c index b81136b..63b26d6 100644 --- 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)); + blobmsg_add_blob(&b, data->data); blobmsg_close_table(&b, a);