]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
multi.c: use mi->cc_config instead of config variable
authorAntonio Quartulli <a@unstable.cc>
Wed, 1 Jul 2020 14:05:17 +0000 (16:05 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 1 Jul 2020 14:13:53 +0000 (16:13 +0200)
Commit ("Remove parameter config from multi_client_connect_mda") has
removed the config variable in favour of mi->cc_config, however one
occurence was not changed.

Fix it now by properly using mi->cc_config.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200701140517.11176-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20180.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/multi.c

index 19261c37b45417014a87e816f7e993c087857379..0e9e0db3c26164aa4fa425e5c69c767f1a41560e 100644 (file)
@@ -1729,7 +1729,7 @@ multi_client_connect_mda(struct multi_context *m,
     {
         struct buffer_entry *be;
 
-        for (be = config->head; be != NULL; be = be->next)
+        for (be = mi->cc_config->head; be != NULL; be = be->next)
         {
             const char *opt = BSTR(&be->buf);
             options_string_import(&mi->context.options,