Skip to content

Commit 1b37096

Browse files
committed
Fix isConnect logic mistake
1 parent a3b120b commit 1b37096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/uot/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (c *ServerConn) loopInput() {
6060
for {
6161
var destination M.Socksaddr
6262
var err error
63-
if !c.isConnect {
63+
if c.isConnect {
6464
destination = c.destination
6565
} else {
6666
destination, err = AddrParser.ReadAddrPort(c.inputReader)

0 commit comments

Comments
 (0)