mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
wgengine/magicsock: log when home DERP server changes.
This commit is contained in:
parent
61f3fda405
commit
4f5c0da1ae
@ -353,6 +353,7 @@ func (c *Conn) setNearestDERP(derpNum int) (wantDERP bool) {
|
||||
return true
|
||||
}
|
||||
c.myDerp = derpNum
|
||||
c.logf("home DERP server is now %s", derpHost(derpNum))
|
||||
for i, ad := range c.activeDerp {
|
||||
go ad.c.NotePreferred(i == c.myDerp)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user