From ea9a082c04de01c78c75f519bd5fed1095d2e3d4 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 14 Jun 2023 15:51:13 +0800 Subject: [PATCH] fix: singmux return wrong supportUDP value --- adapter/outbound/singmux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/outbound/singmux.go b/adapter/outbound/singmux.go index 555a0ecb..9a977318 100644 --- a/adapter/outbound/singmux.go +++ b/adapter/outbound/singmux.go @@ -97,7 +97,7 @@ func (s *SingMux) ListenPacketContext(ctx context.Context, metadata *C.Metadata, func (s *SingMux) SupportUDP() bool { if s.onlyTcp { - return s.ProxyAdapter.SupportUOT() + return s.ProxyAdapter.SupportUDP() } return true }