Fix staticcheck complaint.

reviewable/pr185/r1
Avery Pennarun 2020-03-12 23:33:51 -04:00
parent b4897e7de8
commit 8b8e3f08a0
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func (nm *NetworkMap) Concise() string {
derp := p.DERP
if strings.HasPrefix(derp, "127.3.3.40:") {
derp = "D" + derp[11:len(derp)]
derp = "D" + derp[11:]
}
// Most of the time, aip is just one element, so format the