mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-05-13 00:04:14 +08:00
Delete tunPersist property because tun builder doesn't use this option
This commit is contained in:
@@ -64,11 +64,6 @@ typedef NS_ENUM(NSInteger, OpenVPNTLSCertProfile);
|
|||||||
*/
|
*/
|
||||||
@property (nonatomic) NSInteger connectionTimeout;
|
@property (nonatomic) NSInteger connectionTimeout;
|
||||||
|
|
||||||
/**
|
|
||||||
Keep tun interface active during pauses or reconnections
|
|
||||||
*/
|
|
||||||
@property (nonatomic) BOOL tunPersist;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
If YES and a redirect-gateway profile doesn't also define
|
If YES and a redirect-gateway profile doesn't also define
|
||||||
DNS servers, use the standard Google DNS servers.
|
DNS servers, use the standard Google DNS servers.
|
||||||
|
|||||||
@@ -308,14 +308,6 @@ NSString *const OpenVPNTLSCertProfileDefaultValue = @"default";
|
|||||||
_config.connTimeout = connectionTimeout;
|
_config.connTimeout = connectionTimeout;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)tunPersist {
|
|
||||||
return _config.tunPersist;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setTunPersist:(BOOL)tunPersist {
|
|
||||||
_config.tunPersist = tunPersist;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (BOOL)googleDNSFallback {
|
- (BOOL)googleDNSFallback {
|
||||||
return _config.googleDnsFallback;
|
return _config.googleDnsFallback;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user