mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-06-01 00:00:02 +08:00
Don't check network settings for nil
This commit is contained in:
@@ -260,7 +260,6 @@
|
|||||||
|
|
||||||
- (BOOL)establishTunnel {
|
- (BOOL)establishTunnel {
|
||||||
NEPacketTunnelNetworkSettings *networkSettings = [self.networkSettingsBuilder networkSettings];
|
NEPacketTunnelNetworkSettings *networkSettings = [self.networkSettingsBuilder networkSettings];
|
||||||
if (!networkSettings) { return NO; }
|
|
||||||
|
|
||||||
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
|
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user