Define method returning custom tun factory

This commit is contained in:
Sergey Abramchuk
2017-04-15 14:29:41 +03:00
parent 082a70ca7e
commit ef06fec9f7
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -17,6 +17,10 @@ OpenVPNClient::OpenVPNClient(void *adapter) : ClientAPI::OpenVPNClient() {
this->adapter = adapter;
}
TunClientFactory* OpenVPNClient::new_tun_factory(const ExternalTun::Config& conf, const OptionList& opt) {
return nullptr;
}
bool OpenVPNClient::tun_builder_new() {
return [(__bridge OpenVPNAdapter *)adapter configureSockets];
}