mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-02-11 00:00:08 +08:00
Use NEProxySettings
This commit is contained in:
@@ -475,7 +475,8 @@ static inline void SocketCallback(CFSocketRef socket, CFSocketCallBackType type,
|
||||
proxySettings.HTTPEnabled = self.httpProxyServerEnabled;
|
||||
proxySettings.HTTPSServer = self.httpsProxyServer;
|
||||
proxySettings.HTTPSEnabled = self.httpsProxyServerEnabled;
|
||||
|
||||
networkSettings.proxySettings = proxySettings;
|
||||
|
||||
networkSettings.MTU = self.mtu;
|
||||
|
||||
return networkSettings;
|
||||
|
||||
Reference in New Issue
Block a user