mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
wgengine/router: add the Tailscale ULA route on darwin.
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
c748c20fba
commit
4f3203556d
@ -135,7 +135,7 @@ func (r *userspaceBSDRouter) Set(cfg *Config) (reterr error) {
|
||||
|
||||
newRoutes := make(map[netaddr.IPPrefix]struct{})
|
||||
for _, route := range cfg.Routes {
|
||||
if route == tsaddr.TailscaleULARange() {
|
||||
if runtime.GOOS != "darwin" && route == tsaddr.TailscaleULARange() {
|
||||
// Because we added the interface address as a /48 above,
|
||||
// the kernel already created the Tailscale ULA route
|
||||
// implicitly. We mustn't try to add/delete it ourselves.
|
||||
|
Loading…
Reference in New Issue
Block a user