update tap

This commit is contained in:
ginuerzh
2022-11-04 18:48:28 +08:00
parent 30d44c7376
commit 05ddda70e3
9 changed files with 181 additions and 92 deletions

View File

@ -102,7 +102,9 @@ func (h *tunHandler) Handle(ctx context.Context, conn net.Conn, opts ...handler.
})
log.Debugf("%s >> %s", conn.RemoteAddr(), target.Addr)
h.handleClient(ctx, conn, raddr, config, log)
if err := h.handleClient(ctx, conn, raddr, config, log); err != nil {
log.Error(err)
}
return nil
}