]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/govpn/peer.go
Fix typo in code comment
[govpn.git] / src / govpn / peer.go
index f5f917ac594182b1ddfc5fa593546de083024ed8..7219248397a1152a543115260d533e08a2329750 100644 (file)
@@ -24,6 +24,8 @@ const (
        PktSizeSize = 2
        // Heartbeat rate, relative to Timeout
        TimeoutHeartbeat = 4
+       // Minimal valid packet length
+       MinPktLength = 2 + 16 + 8
 )
 
 func newNonceCipher(key *[32]byte) *xtea.Cipher {