From e7bc8814bf157d1ba417a79e27d8fa42fed0e083 Mon Sep 17 00:00:00 2001 From: lwch Date: Mon, 2 Aug 2021 18:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=BF=9C=E7=AB=AF=E4=B8=8D?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/client/handler/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/code/client/handler/handler.go b/code/client/handler/handler.go index 4f35046..ad60897 100644 --- a/code/client/handler/handler.go +++ b/code/client/handler/handler.go @@ -97,6 +97,7 @@ func (h *Handler) handleConnectReq(data *network.ControlData) { rep.Ok = true rep.LocalCid = cid connectResponse(h.ctl, rep, data.GetTo(), data.GetFrom()) + go tn.ForwardLocal(h.fwd) } func (h *Handler) handleConnectRep(data *network.ControlData) {