]> Cypherpunks repositories - govpn.git/commitdiff
Remove long human unreadable constant value
authorSergey Matveev <stargrave@stargrave.org>
Sat, 28 Mar 2015 15:02:42 +0000 (18:02 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 28 Mar 2015 15:02:42 +0000 (18:02 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
transport.go

index 31bfe7f6a403f64bad9d8b613b7f24affd1a0b86..a1ca506ce2debb34f2c728abba023245610373ab 100644 (file)
@@ -37,7 +37,7 @@ const (
        S20BS         = 64
        HeartbeatSize = 12
        // Maximal amount of bytes transfered with single key (4 GiB)
-       MaxBytesPerKey = 4294967296
+       MaxBytesPerKey = 1 << 32
 )
 
 type UDPPkt struct {