diff options
author | Steven Barth <steven@midlink.org> | 2013-10-15 15:20:40 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-15 15:20:40 +0200 |
commit | c270824318171edcaf2cb99e9803cb2a3bf64534 (patch) | |
tree | 3c5e884f742bf3dd704454f592c0efcd6df339d5 | |
parent | e019e23b37ffece5b6b624824a263083866bc728 (diff) |
Fix last commit
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ static int handle_update(_unused struct ubus_context *ctx, _unused struct ubus_o struct blob_attr *msg) { struct blob_attr *tb[IFACE_ATTR_MAX]; - blobmsg_parse(iface_attrs, IFACE_ATTR_MAX, tb, blob_data(msg), blob_data(msg)); + blobmsg_parse(iface_attrs, IFACE_ATTR_MAX, tb, blob_data(msg), blob_len(msg)); const char *interface = (tb[IFACE_ATTR_INTERFACE]) ? blobmsg_get_string(tb[IFACE_ATTR_INTERFACE]) : ""; |