diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-13 15:01:52 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-13 15:01:52 +0200 |
commit | 8eb20e0aad7412468975b2c9ce7e374ea3084e42 (patch) | |
tree | 2627215e1f51566670611db54e71becbb0881522 | |
parent | c171d9c5a1c1320e53183f425fa9b82682eeaa51 (diff) |
ubus: use "ubus_rpc_session" instead of "sid" attribute name when querying session.access
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |