summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ubus.c2
1 files changed, 1 insertions, 1 deletions
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);