summaryrefslogtreecommitdiff
path: root/ubusd_acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubusd_acl.c')
-rw-r--r--ubusd_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubusd_acl.c b/ubusd_acl.c
index f19df9a..e426a4a 100644
--- a/ubusd_acl.c
+++ b/ubusd_acl.c
@@ -549,7 +549,7 @@ static int ubusd_reply_query(struct ubus_client *cl, struct ubus_msg_buf *ub, st
static int ubusd_acl_recv(struct ubus_client *cl, struct ubus_msg_buf *ub, const char *method, struct blob_attr *msg)
{
if (!strcmp(method, "query"))
- return ubusd_reply_query(cl, ub, ubus_parse_msg(ub->data), msg);
+ return ubusd_reply_query(cl, ub, ubus_parse_msg(ub->data, blob_raw_len(ub->data)), msg);
return UBUS_STATUS_INVALID_COMMAND;
}