Hi, I intend to ACK and commit this, as soon as the sf.net mailing list and git infrastructure is back up and I can actually do so...
(from https://github.com/OpenVPN/openvpn/pull/27) thanks, Daniel. gert From 12e9eaaad6626e683b70bec71fc9048aac3ccb9e Mon Sep 17 00:00:00 2001 From: Daniel Hahler <g...@thequod.de> List-Post: openvpn-devel@lists.sourceforge.net Date: Sun, 19 Jul 2015 21:55:22 +0200 Subject: [PATCH] options: fix option check for "plugin" The "plugin" option has one required argument, and an optional one. This fixes a regression in 3d6a4cd (https://community.openvpn.net/openvpn/ticket/557). Signed-off-by: Daniel Hahler <g...@thequod.de> --- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 76e6b65..93baa2b 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -4325,7 +4325,7 @@ add_option (struct options *options, } #endif #ifdef ENABLE_PLUGIN - else if (streq (p[0], "plugin") && p[1] && !p[2]) + else if (streq (p[0], "plugin") && p[1] && !p[3]) { VERIFY_PERMISSION (OPT_P_PLUGIN); if (!options->plugin_list) -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgprvC_FlH5mI.pgp
Description: PGP signature