From: Jo-Philipp Wich Date: Fri, 13 Sep 2013 13:01:52 +0000 (+0200) Subject: ubus: use "ubus_rpc_session" instead of "sid" attribute name when querying session... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8eb20e0aad7412468975b2c9ce7e374ea3084e42;p=oweals%2Fuhttpd.git ubus: use "ubus_rpc_session" instead of "sid" attribute name when querying session.access --- diff --git a/ubus.c b/ubus.c index 0d41c2d..cf5f529 100644 --- a/ubus.c +++ b/ubus.c @@ -448,7 +448,7 @@ static bool uh_ubus_allowed(const char *sid, const char *obj, const char *fun) return false; blob_buf_init(&req, 0); - blobmsg_add_string(&req, "sid", sid); + blobmsg_add_string(&req, "ubus_rpc_session", sid); blobmsg_add_string(&req, "object", obj); blobmsg_add_string(&req, "function", fun);