From 4d082ff5b985c9a6d60e1c7b0c97cca786bac715 Mon Sep 17 00:00:00 2001 From: Shtorm <108103062+shtorm-7@users.noreply.github.com> Date: Mon, 2 Mar 2026 19:31:23 +0300 Subject: [PATCH] Fix bond outbound --- protocol/bond/inbound.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocol/bond/inbound.go b/protocol/bond/inbound.go index 48fe624b..ce8bd737 100644 --- a/protocol/bond/inbound.go +++ b/protocol/bond/inbound.go @@ -92,6 +92,10 @@ func (h *Inbound) Close() error { } func (h *Inbound) connHandler(ctx context.Context, conn net.Conn, metadata adapter.InboundContext, onClose N.CloseHandlerFunc) error { + if metadata.Destination != Destination { + h.router.RouteConnectionEx(ctx, conn, metadata, onClose) + return nil + } request, err := ReadRequest(conn) if err != nil { return err