mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Fix IPv4 routes are disabling exit
(This was actually already working because macOS is buggy and doesn't actually remove routes other than the default).
This commit is contained in:
parent
979488830e
commit
7fe5ffb209
|
@ -135,7 +135,7 @@ static void del_default_route(void* ctx) {
|
|||
LLARPPacketTunnel* t = (__bridge LLARPPacketTunnel*) ctx;
|
||||
|
||||
t->settings.IPv4Settings.includedRoutes = @[t->tun_route4];
|
||||
t->settings.IPv4Settings.includedRoutes = @[]; // No tun_route6 yet.
|
||||
t->settings.IPv6Settings.includedRoutes = @[]; // No tun_route6 yet.
|
||||
|
||||
[t updateNetworkSettings];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue