mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2024-10-06 17:22:07 +08:00
Fix incorrect macro
This commit is contained in:
parent
76413feea7
commit
6d2de5cb4e
@ -599,7 +599,7 @@ static void socketCallback(CFSocketRef socket, CFSocketCallBackType type, CFData
|
||||
protocol = CFSwapInt32BigToHost(protocol);
|
||||
|
||||
NSData *packet = [data subdataWithRange:NSMakeRange(prefixSize, data.length - prefixSize)];
|
||||
#elif TARGET_OS_MAC
|
||||
#else
|
||||
// Get network protocol from header
|
||||
uint8_t header = 0;
|
||||
[data getBytes:&header length:1];
|
||||
|
Loading…
Reference in New Issue
Block a user