mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
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:
committed by
Sergey Abramchuk
parent
7230e1f83d
commit
73d593fe4c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user