ipn: restore LiveDERPs assignment in LocalBackend.parseWgStatus

Updates #421 (likely fixes it; need to do an iOS build to be sure)
crawshaw/pinger2
Brad Fitzpatrick 4 years ago
parent 03682cb271
commit 004780b312

@ -603,6 +603,7 @@ func (b *LocalBackend) parseWgStatus(s *wgengine.Status) (ret EngineStatus) {
peerKeys []string
)
ret.LiveDERPs = s.DERPs
ret.LivePeers = map[tailcfg.NodeKey]wgengine.PeerStatus{}
for _, p := range s.Peers {
if !p.LastHandshake.IsZero() {

Loading…
Cancel
Save