This commit is contained in:
Claire Wang 2024-01-31 13:04:11 -05:00
parent d32aaffca6
commit 833b2aaae9

View File

@ -3008,3 +3008,7 @@ func getPeerMTUsProbedMetric(mtu tstun.WireMTU) *clientmetric.Metric {
mm, _ := metricRecvDiscoPeerMTUProbesByMTU.LoadOrInit(key, func() *clientmetric.Metric { return clientmetric.NewCounter(key) })
return mm
}
func (c *Conn) GetLastNetcheckReport() *netcheck.Report {
return c.lastNetCheckReport.Load()
}