Do not read from packetFlow when tunnel is not yet fully initialized and configured.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
@interface WireGuardGoWrapper : NSObject
|
||||
|
||||
@property (nonatomic, weak) NEPacketTunnelFlow *packetFlow;
|
||||
@property (nonatomic, assign) BOOL configured;
|
||||
|
||||
- (BOOL) turnOnWithInterfaceName: (NSString *)interfaceName settingsString: (NSString *)settingsString;
|
||||
- (void) turnOff;
|
||||
|
||||
Reference in New Issue
Block a user