We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abacd1 commit b0c22baCopy full SHA for b0c22ba
wgengine/userspace.go
@@ -1005,6 +1005,7 @@ func (e *userspaceEngine) getStatus() (*Status, error) {
1005
closing := e.closing
1006
peerKeys := make([]key.NodePublic, len(e.peerSequence))
1007
copy(peerKeys, e.peerSequence)
1008
+ localAddrs := append([]tailcfg.Endpoint(nil), e.endpoints...)
1009
e.mu.Unlock()
1010
1011
if closing {
@@ -1020,7 +1021,7 @@ func (e *userspaceEngine) getStatus() (*Status, error) {
1020
1021
1022
return &Status{
1023
AsOf: time.Now(),
- LocalAddrs: append([]tailcfg.Endpoint(nil), e.endpoints...),
1024
+ LocalAddrs: localAddrs,
1025
Peers: peers,
1026
DERPs: derpConns,
1027
}, nil
0 commit comments