]> 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 85e2ec3381a7564618d14e3b099af05e06e73e62..40d81ca818081789c3a9f87ac4e4a2f063c63a76 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoVPN -- simple secure free software virtual private network daemon
-Copyright (C) 2014-2016 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2017 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -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])