mirror of
https://github.com/lwch/natpass.git
synced 2026-10-21 07:26:15 +00:00
修正对端无法接收数据的问题
This commit is contained in:
@@ -55,5 +55,6 @@ func shellCreate(conn *pool.Conn, msg *network.Msg) {
|
||||
logging.Error("create shell failed: %v", err)
|
||||
return
|
||||
}
|
||||
conn.AddLink(msg.GetLinkId())
|
||||
sh.Forward(conn, msg.GetFromIdx())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user