X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgovpn%2Fclient%2Ftcp.go;h=40d81ca818081789c3a9f87ac4e4a2f063c63a76;hp=c57b07ae270c44473750caea610b0853f4de7232;hb=f47fff1e42f75b736e7067ec06c2e81394833d46;hpb=588499ac2eedea258c304fca647509c7b587d7e8 diff --git a/src/cypherpunks.ru/govpn/client/tcp.go b/src/cypherpunks.ru/govpn/client/tcp.go index c57b07a..40d81ca 100644 --- a/src/cypherpunks.ru/govpn/client/tcp.go +++ b/src/cypherpunks.ru/govpn/client/tcp.go @@ -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])