2017-02-26 20:09:08 +08:00
|
|
|
//
|
2017-05-06 00:02:51 +08:00
|
|
|
// OpenVPNTunnelSettings.m
|
2017-02-26 20:09:08 +08:00
|
|
|
// OpenVPN iOS Client
|
|
|
|
//
|
|
|
|
// Created by Sergey Abramchuk on 26.02.17.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
2017-05-06 00:02:51 +08:00
|
|
|
#import "OpenVPNTunnelSettings.h"
|
2017-02-26 20:09:08 +08:00
|
|
|
|
2017-05-06 00:02:51 +08:00
|
|
|
@implementation OpenVPNTunnelSettings
|
2017-02-26 20:09:08 +08:00
|
|
|
|
|
|
|
- (instancetype)init
|
|
|
|
{
|
|
|
|
self = [super init];
|
|
|
|
if (self) {
|
2017-03-21 02:31:21 +08:00
|
|
|
_initialized = NO;
|
|
|
|
|
2017-02-26 20:09:08 +08:00
|
|
|
_localAddresses = [NSMutableArray new];
|
2017-03-21 02:23:00 +08:00
|
|
|
_prefixLengths = [NSMutableArray new];
|
2017-02-26 20:09:08 +08:00
|
|
|
|
|
|
|
_includedRoutes = [NSMutableArray new];
|
|
|
|
_excludedRoutes = [NSMutableArray new];
|
|
|
|
|
|
|
|
_dnsAddresses = [NSMutableArray new];
|
|
|
|
}
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|