mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-22 12:58:37 +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 {
|
if c.preferred == v {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
c.preferred = v
|
||||||
if v {
|
if v {
|
||||||
c.s.curHomeClients.Add(1)
|
c.s.curHomeClients.Add(1)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user