From 717c715c964c70a63d67804086a6bdde4c2dc0c7 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Mon, 1 Feb 2021 14:37:58 -0800 Subject: [PATCH] wgengine/wglog: don't log failure to send data packets Fixes #1239 --- wgengine/wglog/wglog.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wgengine/wglog/wglog.go b/wgengine/wglog/wglog.go index 6f3e490f2..7786edd82 100644 --- a/wgengine/wglog/wglog.go +++ b/wgengine/wglog/wglog.go @@ -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.