mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-21 20:38:41 +00:00
derp: actually record client's preferred bit
This commit is contained in:
parent
2839854994
commit
dd456f04c5
@ -465,6 +465,7 @@ func (c *sclient) setPreferred(v bool) {
|
||||
if c.preferred == v {
|
||||
return
|
||||
}
|
||||
c.preferred = v
|
||||
if v {
|
||||
c.s.curHomeClients.Add(1)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user