From: Sergey Matveev Date: Sun, 7 Feb 2016 09:41:26 +0000 (+0300) Subject: Do not print Conn field in statistics X-Git-Tag: 5.6^2~7 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=f1052bf837a8c0f4c50c7bb0a3a70c1ddb31c467 Do not print Conn field in statistics Signed-off-by: Sergey Matveev --- diff --git a/src/cypherpunks.ru/govpn/peer.go b/src/cypherpunks.ru/govpn/peer.go index a9c0aaa..5160bd4 100644 --- a/src/cypherpunks.ru/govpn/peer.go +++ b/src/cypherpunks.ru/govpn/peer.go @@ -79,7 +79,7 @@ type Peer struct { // Basic Addr string Id *PeerId - Conn io.Writer + Conn io.Writer `json:"-"` // Traffic behaviour NoiseEnable bool