mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
4c2f67a1d0
withSockStats may be called before setLinkMonitor, in which case we don't have a populated knownInterfaces map. Since we pre-populate the per-interface counters at creation time, we would end up with an empty map. To mitigate this, we do an on-demand request for the list of interfaces. This would most often happen with the logtail instrumentation, since we initialize it very early on. Updates tailscale/corp#9230 Signed-off-by: Mihai Parparita <mihai@tailscale.com> |
||
---|---|---|
.. | ||
label_string.go | ||
sockstats_noop.go | ||
sockstats_tsgo_darwin.go | ||
sockstats_tsgo.go | ||
sockstats.go |