From f70b1fd1695dd840295d9261d40cf17543ccc9b7 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 6 Feb 2016 14:01:59 +0300 Subject: [PATCH] It is possible that frame counters will be bigger than 32-bit Signed-off-by: Sergey Matveev --- src/cypherpunks.ru/govpn/peer.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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:"-"` -- 2.44.0