From: Sergey Matveev Date: Sat, 6 Feb 2016 11:01:59 +0000 (+0300) Subject: It is possible that frame counters will be bigger than 32-bit X-Git-Tag: 5.5^2~4 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=f70b1fd1695dd840295d9261d40cf17543ccc9b7 It is possible that frame counters will be bigger than 32-bit Signed-off-by: Sergey Matveev --- diff --git a/src/cypherpunks.ru/govpn/peer.go b/src/cypherpunks.ru/govpn/peer.go index 5ea245b..69490c9 100644 --- a/src/cypherpunks.ru/govpn/peer.go +++ b/src/cypherpunks.ru/govpn/peer.go @@ -100,12 +100,12 @@ type Peer struct { BytesOut int64 BytesPayloadIn int64 BytesPayloadOut int64 - FramesIn int - FramesOut int - FramesUnauth int - FramesDup int - HeartbeatRecv int - HeartbeatSent int + FramesIn uint64 + FramesOut uint64 + FramesUnauth uint64 + FramesDup uint64 + HeartbeatRecv uint64 + HeartbeatSent uint64 // Receiver BusyR sync.Mutex `json:"-"`