mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
b4a400f6fe
Currently we error out on the first unsupported option which belongs to the "fatal" category, such as "removed deprecated option" or "Option allowed only to be pushed by the server". To improve user experice and allow application code to display all problematic options and their categories, collect options into a category->options map and then serialize it into multiline string: cat1: opt1,opt2 cat2: opt3 Introduce a new error code UNUSED_OPTIONS, which is placed into ClientAPI::Status::status. The serialized options map is placed into ClientAPI::Status::message. Signed-off-by: Lev Stipakov <lev@openvpn.net> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ovpncli.cpp | ||
ovpncli.hpp | ||
ovpncli.i |