From 760f1edce535a9cfd9364fe4c041277e04e34640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 23 Oct 2026 14:31:00 +0800 Subject: [PATCH] Fix direct outbound ignoring fallback delay --- protocol/direct/outbound.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/direct/outbound.go b/protocol/direct/outbound.go index 96b8cb0f..78fee262 100644 --- a/protocol/direct/outbound.go +++ b/protocol/direct/outbound.go @@ -245,6 +245,9 @@ func (h *Outbound) DialParallelNetwork(ctx context.Context, network string, dest case N.NetworkUDP: h.logger.InfoContext(ctx, "outbound packet connection to ", destination) } + if fallbackDelay == 0 { + fallbackDelay = h.fallbackDelay + } return dialer.DialParallelNetwork(ctx, h.dialer, network, destination, destinationAddresses, len(destinationAddresses) > 0 && destinationAddresses[0].Is6(), networkStrategy, networkType, fallbackNetworkType, fallbackDelay) }