From 45d1950684099a0172abdbd1feb4e92ae31e779d Mon Sep 17 00:00:00 2001 From: lwch Date: Mon, 27 Sep 2021 19:08:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=AF=B9=E7=AB=AF=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=8E=A5=E6=94=B6=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/client/connect.go | 1 + 1 file changed, 1 insertion(+) diff --git a/code/client/connect.go b/code/client/connect.go index 06a32e5..2f94ba0 100644 --- a/code/client/connect.go +++ b/code/client/connect.go @@ -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()) }