]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/client/tcp.go
go vet/lint
[govpn.git] / src / cypherpunks.ru / govpn / client / tcp.go
index c57b07ae270c44473750caea610b0853f4de7232..40d81ca818081789c3a9f87ac4e4a2f063c63a76 100644 (file)
@@ -76,8 +76,8 @@ HandshakeCycle:
                }
 
                prev += n
-               peerId := c.idsCache.Find(buf[:prev])
-               if peerId == nil {
+               peerID := c.idsCache.Find(buf[:prev])
+               if peerID == nil {
                        continue
                }
                peer = hs.Client(buf[:prev])