From e2392d8d402352d1e71bdab609691af3b24a44a3 Mon Sep 17 00:00:00 2001 From: shij Date: Fri, 16 Jun 2023 16:35:05 +0800 Subject: [PATCH] Fix isConnect logic mistake Co-authored-by: jevin.shi --- common/uot/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/uot/server.go b/common/uot/server.go index 6457878..b620cce 100644 --- a/common/uot/server.go +++ b/common/uot/server.go @@ -60,7 +60,7 @@ func (c *ServerConn) loopInput() { for { var destination M.Socksaddr var err error - if !c.isConnect { + if c.isConnect { destination = c.destination } else { destination, err = AddrParser.ReadAddrPort(c.inputReader)