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:
Brad Fitzpatrick 2020-05-29 09:53:04 -07:00
parent 03682cb271
commit 004780b312

View File

@ -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() {