diff --git a/openvpn/client/cliopthelper.hpp b/openvpn/client/cliopthelper.hpp index 20384a9e8..5bb3050ba 100644 --- a/openvpn/client/cliopthelper.hpp +++ b/openvpn/client/cliopthelper.hpp @@ -358,7 +358,7 @@ class ParseClientConfig if (content_list) { content_list->preprocess(); - options.parse_from_key_value_list(*content_list, &limits); + options.parse_from_key_value_list(*content_list, "OVPN_ACCESS_SERVER", &limits); } process_setenv_opt(options); options.update_map(); diff --git a/openvpn/common/options.hpp b/openvpn/common/options.hpp index d594c41a3..0fea4483a 100644 --- a/openvpn/common/options.hpp +++ b/openvpn/common/options.hpp @@ -710,12 +710,22 @@ class OptionList : public std::vector