mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
ipnlocal: enable allow LAN for android (#11709)
Updates tailscale/corp#18984 Updates tailscale/corp#18202
This commit is contained in:
parent
976d3c7b5f
commit
1cd51f95c7
@ -4235,7 +4235,7 @@ func (b *LocalBackend) routerConfig(cfg *wgcfg.Config, prefs ipn.PrefsView, oneC
|
||||
b.logf("failed to discover interface ips: %v", err)
|
||||
}
|
||||
switch runtime.GOOS {
|
||||
case "linux", "windows", "darwin", "ios":
|
||||
case "linux", "windows", "darwin", "ios", "android":
|
||||
rs.LocalRoutes = internalIPs // unconditionally allow access to guest VM networks
|
||||
if prefs.ExitNodeAllowLANAccess() {
|
||||
rs.LocalRoutes = append(rs.LocalRoutes, externalIPs...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user