mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 06:01:42 +00:00
ipn: restore LiveDERPs assignment in LocalBackend.parseWgStatus
Updates #421 (likely fixes it; need to do an iOS build to be sure)
This commit is contained in:
parent
03682cb271
commit
004780b312
@ -603,6 +603,7 @@ func (b *LocalBackend) parseWgStatus(s *wgengine.Status) (ret EngineStatus) {
|
|||||||
peerKeys []string
|
peerKeys []string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ret.LiveDERPs = s.DERPs
|
||||||
ret.LivePeers = map[tailcfg.NodeKey]wgengine.PeerStatus{}
|
ret.LivePeers = map[tailcfg.NodeKey]wgengine.PeerStatus{}
|
||||||
for _, p := range s.Peers {
|
for _, p := range s.Peers {
|
||||||
if !p.LastHandshake.IsZero() {
|
if !p.LastHandshake.IsZero() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user