ipn/ipnlocal: prevent a now-expected [unexpected] log message on Windows
Updates #1620 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
b062ac5e86
commit
3bdc9e9cb2
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue