Fix staticcheck complaint.

This commit is contained in:
Avery Pennarun 2020-03-12 23:33:51 -04:00
parent b4897e7de8
commit 8b8e3f08a0

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