mirror of
https://github.com/amnezia-vpn/OpenVPNAdapter.git
synced 2026-05-17 08:15:45 +03:00
Update fw.hpp
This commit is contained in:
@@ -47,17 +47,20 @@ class CloakTransport : public PluggableTransports::Connection, public PluggableT
|
||||
|
||||
if (config == nullptr){
|
||||
// OPENVPN_LOG("CONFIG CLOAK NULL");
|
||||
ret_out = 201;
|
||||
return;
|
||||
}
|
||||
|
||||
if (*config == '\0') {
|
||||
// OPENVPN_LOG("CONFIG CLOAK IS \0");
|
||||
ret_out = 202;
|
||||
return;
|
||||
}
|
||||
// Setup cloak config
|
||||
ret = Initialize_cloak_c_client(config);
|
||||
ret_out = ret;
|
||||
if (ret < 0) {
|
||||
ret_out = 203;
|
||||
// OPENVPN_LOG("ERROR Initialize_cloak_c_client ");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user