This does not disable the current method of using plugin command
arguments (stdin), only adding the new feature.

Signed-off-by: Louis Hampton <louis_hamp...@sercomm.com>
---
 plugin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugin.c b/plugin.c
index b0315dc..f12b212 100644
--- a/plugin.c
+++ b/plugin.c
@@ -229,6 +229,7 @@ rpc_plugin_call(struct ubus_context *ctx, struct 
ubus_object *obj,
        c->argv[0] = c->path;
        c->argv[1] = "call";
        c->argv[2] = c->method;
+       c->argv[3] = c->input;
 
        rv = rpc_exec(c->argv, rpc_plugin_call_stdin_cb,
                      rpc_plugin_call_stdout_cb, rpc_plugin_call_stderr_cb,
-- 
2.29.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to