Change -establishTunnel return type (#25)

This commit is contained in:
Jonathan Downing
2017-09-23 10:36:07 +01:00
committed by Sergey Abramchuk
parent 9932456cda
commit aecdeaf0f1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ static void socketCallback(CFSocketRef socket, CFSocketCallBackType type, CFData
return YES;
}
- (NSInteger)establishTunnel {
- (CFSocketNativeHandle)establishTunnel {
NSAssert(self.delegate != nil, @"delegate property should not be nil");
NEPacketTunnelNetworkSettings *networkSettings = [[NEPacketTunnelNetworkSettings alloc] initWithTunnelRemoteAddress:self.remoteAddress];