From: Sergey Matveev Date: Sun, 13 Sep 2015 20:24:52 +0000 (+0300) Subject: Do not expor Busy* lock to statistics X-Git-Tag: 4.0^2~15 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=95529c2902e3372749bc59cc7fe6ce626c683707;p=govpn.git Do not expor Busy* lock to statistics Signed-off-by: Sergey Matveev --- diff --git a/src/govpn/peer.go b/src/govpn/peer.go index 5c6e13b..f5f917a 100644 --- a/src/govpn/peer.go +++ b/src/govpn/peer.go @@ -84,14 +84,14 @@ type Peer struct { HeartbeatSent int // Receiver - BusyR sync.Mutex + BusyR sync.Mutex `json:"-"` bufR []byte tagR *[TagSize]byte keyAuthR *[SSize]byte pktSizeR uint16 // Transmitter - BusyT sync.Mutex + BusyT sync.Mutex `json:"-"` bufT []byte tagT *[TagSize]byte keyAuthT *[SSize]byte