]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix v3 plugins to support returning values back to OpenVPN.
authorKenneth Rose <ken+openvpn@surfeasy.com>
Mon, 1 Oct 2012 18:47:02 +0000 (14:47 -0400)
committerDavid Sommerseth <davids@redhat.com>
Mon, 15 Oct 2012 16:27:13 +0000 (18:27 +0200)
commite92255f58bcfaec157c3ef59e01c40cbd04b1d43
treefe09e47972d196b218a3d03e5c68c01e8bb97627
parent75b6f4bd84302d225a301f4ed87e2bb27908b972
Fix v3 plugins to support returning values back to OpenVPN.

There's a small implementation issue with the V3 plugin API
implementation.  V3 plugins cannot return data back to OpenVPN using
openvpn_plugin_args_func_return since
openvpn_plugin_args_func_return.return_list is always NULL.

This patch makes the behaviour identical to the V2 API (return_list is
again a proper out parameter).

Signed-off-by: Kenneth Rose <ken+openvpn@surfeasy.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: CAAUdgR8VZjaO0-thFPVoQkbZ1DNG3rx+gtYYLqyfocp3yns==w@mail.gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/7083
Signed-off-by: David Sommerseth <davids@redhat.com>
src/openvpn/plugin.c