diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2021-11-04 14:38:01 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-11-04 14:42:38 +0200 |
commit | d11ffe9383ae0ec34836421926364b24c1d891ca (patch) | |
tree | 57b1b9358b0a34f8f8824c778086521f2ec33752 | |
parent | 20bf958bea20e44a1d75d430acf9b863702fe229 (diff) | |
download | rpcd-d11ffe9383ae0ec34836421926364b24c1d891ca.tar.gz |
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: 20bf958bea20 ("session: use uloop_timeout_remaining64")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 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; } |