ipn: restore LiveDERPs assignment in LocalBackend.parseWgStatus
Updates #421 (likely fixes it; need to do an iOS build to be sure)reviewable/pr425/r2
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…
Reference in New Issue