Update fw.hpp

This commit is contained in:
AnhTVc
2023-04-21 23:28:47 +07:00
committed by GitHub
parent 4ce007db21
commit 518d42831d

View File

@@ -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;
}