From: Marcus Comstedt <mar...@mc.pp.se> Hi.
I noticed that using luci.util.ubus() does not work correctly when the called function returned doubles (only nils are returned). This patch adds the capability of correctly forwarding BLOBMSG_TYPE_DOUBLE to lua. It is still not possible to send parameters of type BLOBMSG_TYPE_DOUBLE from lua, but this is the same as with parameters of type BLOBMSG_TYPE_INT16 and BLOBMSG_TYPE_INT64, so I consider it a separate issue. I could not find a GitHub mirror of ubus.git to file a PR against, so I'm sending the patch to the list instead. I hope that was the right thing to do. :-) // Marcus Marcus Comstedt (1): ubus/lua: add support for BLOBMSG_TYPE_DOUBLE lua/ubus.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.16.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel