From 95529c2902e3372749bc59cc7fe6ce626c683707 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 13 Sep 2015 23:24:52 +0300 Subject: [PATCH] Do not expor Busy* lock to statistics Signed-off-by: Sergey Matveev --- src/govpn/peer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.48.1