wgengine/wglog: don't log failure to send data packets

Fixes #1239
pull/1253/head
Josh Bleecher Snyder 3 years ago committed by Josh Bleecher Snyder
parent 516e8a4838
commit 717c715c96

@ -36,6 +36,10 @@ func NewLogger(logf logger.Logf) *Logger {
// Drop those; there are a lot of them, and they're just noise.
return
}
if strings.Contains(msg, "Failed to send data packet") {
// Drop. See https://github.com/tailscale/tailscale/issues/1239.
return
}
r := ret.replacer.Load()
if r == nil {
// No replacements specified; log as originally planned.

Loading…
Cancel
Save