From 559df99f259e88edaa7e45826a0ff436f2a07d1a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 20 Mar 2014 21:02:02 +0100 Subject: [PATCH] ubus: fix displaying interface data items Signed-off-by: Felix Fietkau --- ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2