Skip to content

Commit

Permalink
fix: netcheck nil map
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanndickson committed Jul 2, 2024
1 parent 012f023 commit f2b59a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wgengine/magicsock/magicsock.go
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ func (c *Conn) updateNetInfo(ctx context.Context) (*netcheck.Report, error) {

ni := &tailcfg.NetInfo{
DERPLatency: map[string]float64{},
DERPLatencyV4: map[int]float64{},
DERPLatencyV6: map[int]float64{},
MappingVariesByDestIP: report.MappingVariesByDestIP,
HairPinning: report.HairPinning,
UPnP: report.UPnP,
Expand Down

0 comments on commit f2b59a9

Please sign in to comment.