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).
pull/1688/head
Jason Rhinelander 3 years ago
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…
Cancel
Save