From caad9d419f644bae3056d507b211095000b4742b Mon Sep 17 00:00:00 2001 From: Ben Cartwright-Cox Date: Tue, 21 Feb 2023 22:14:20 +0000 Subject: [PATCH] Cleanup unused struct fields --- lib/client.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/client.go b/lib/client.go index 1d46937..e361590 100644 --- a/lib/client.go +++ b/lib/client.go @@ -21,17 +21,13 @@ type ClientSession struct { version uint8 connected bool + tcpconn net.Conn + rd io.Reader + wr io.Writer - curserial uint32 transmits chan PDU quit chan bool - tcpconn net.Conn - sshsession *ssh.Session - - rd io.Reader - wr io.Writer - handler RTRClientSessionEventHandler log Logger