ipn/ipnlocal: actually fill out PeerAPIURLs in PeerStatus

The earlier 5f6d63936f was not complete.

Updates tailscale/corp#7515

Change-Id: I35efca51d1584c48ef6834a7d29cd42d7c943628
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-11-19 13:10:45 -08:00
committed by Brad Fitzpatrick
parent 063eeefdca
commit a26f23d949
2 changed files with 11 additions and 6 deletions
+3
View File
@@ -391,6 +391,9 @@ func (sb *StatusBuilder) AddPeer(peer key.NodePublic, st *PeerStatus) {
if st.Active {
e.Active = true
}
if st.PeerAPIURL != nil {
e.PeerAPIURL = st.PeerAPIURL
}
}
type StatusUpdater interface {