1
1
Fork 0
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:
Jason Rhinelander 2021-09-03 12:06:27 -03:00
parent 979488830e
commit 7fe5ffb209

View file

@ -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];
}