From 3bdc9e9cb20e456e709d1aeb2b479c2e9e6f6644 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 27 Apr 2021 09:58:05 -0700 Subject: [PATCH] ipn/ipnlocal: prevent a now-expected [unexpected] log message on Windows Updates #1620 Signed-off-by: Brad Fitzpatrick --- ipn/ipnlocal/local.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 76794e86c..202ca39b3 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -1833,6 +1833,12 @@ func (b *LocalBackend) initPeerAPIListener() { if !skipListen { ln, err = ps.listen(a.IP, b.prevIfState) if err != nil { + if runtime.GOOS == "windows" { + // Expected for now. See Issue 1620. + // But we fix it later in linkChange + // ("peerAPIListeners too low"). + continue + } b.logf("[unexpected] peerapi listen(%q) error: %v", a.IP, err) continue }