session: use blobmsg_get_u64 for RPC_DUMP_EXPIRES
We need to use blobmsg_get_u64 for RPC_DUMP_EXPIRES as this is now
BLOBMSG_TYPE_INT64.
Fixes: 20bf958bea
("session: use uloop_timeout_remaining64")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
20bf958bea
commit
d11ffe9383
1 changed files with 1 additions and 1 deletions
|
@ -1309,7 +1309,7 @@ rpc_session_from_blob(struct uci_context *uci, struct blob_attr *attr)
|
|||
|
||||
avl_insert(&sessions, &ses->avl);
|
||||
|
||||
uloop_timeout_set(&ses->t, blobmsg_get_u32(tb[RPC_DUMP_EXPIRES]) * 1000);
|
||||
uloop_timeout_set(&ses->t, blobmsg_get_u64(tb[RPC_DUMP_EXPIRES]) * 1000);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue