diff --git a/ipn/local.go b/ipn/local.go index 7edd12470..85e46378a 100644 --- a/ipn/local.go +++ b/ipn/local.go @@ -567,7 +567,9 @@ func (b *LocalBackend) parseWgStatus(s *wgengine.Status) EngineStatus { rx += p.RxBytes tx += p.TxBytes } - b.logf("v%v peers: %v", version.LONG, strings.Join(ss, " ")) + if len(ss) != 0 { + b.logf("v%v peers: %v", version.LONG, strings.Join(ss, " ")) + } return EngineStatus{ RBytes: rx, WBytes: tx,