]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/peer.go
Do not print Conn field in statistics
[govpn.git] / src / cypherpunks.ru / govpn / peer.go
index a9c0aaae8dbe386dad397e2df97aaea3a7ee9d03..5160bd4cc6b2f7b172d3441b90762faf73f71ee1 100644 (file)
@@ -79,7 +79,7 @@ type Peer struct {
        // Basic
        Addr string
        Id   *PeerId
-       Conn io.Writer
+       Conn io.Writer `json:"-"`
 
        // Traffic behaviour
        NoiseEnable bool