Reconnection Bugfix Proposal (#20)

* Add proposed fix to reconnection bug

* Utilise tun_builder_teardown method to initiate settings reset

* Move socket teardown code to -teardownTunnel:
This commit is contained in:
Jonathan Downing
2017-09-23 09:46:51 +01:00
committed by Sergey Abramchuk
parent 7230e1f83d
commit 73d593fe4c
3 changed files with 38 additions and 23 deletions
@@ -30,6 +30,7 @@ using namespace openvpn;
- (BOOL)setMTU:(NSNumber *)mtu;
- (NSInteger)establishTunnel;
- (void)teardownTunnel:(BOOL)disconnect;
- (void)handleEvent:(const ClientAPI::Event *)event;
- (void)handleLog:(const ClientAPI::LogInfo *)log;