From c270824318171edcaf2cb99e9803cb2a3bf64534 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 15 Oct 2013 15:20:40 +0200 Subject: [PATCH] Fix last commit --- src/ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ubus.c b/src/ubus.c index 1989510..d8948a9 100644 --- a/src/ubus.c +++ b/src/ubus.c @@ -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]) : ""; -- 2.30.2