projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c171d9c
)
ubus: use "ubus_rpc_session" instead of "sid" attribute name when querying session...
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 13 Sep 2013 13:01:52 +0000
(15:01 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 13 Sep 2013 13:01:52 +0000
(15:01 +0200)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 0d41c2dd6b7f3b712f9dd3e725e7b6f2f0a6f2cc..cf5f529d3496d7942eccbe40aaf9ba72bcf1e417 100644
(file)
--- 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);