fix: singmux return wrong supportUDP value

This commit is contained in:
wwqgtxx 2023-06-14 15:51:13 +08:00
parent 644abcf071
commit 4f79bb7931

View file

@ -97,7 +97,7 @@ func (s *SingMux) ListenPacketContext(ctx context.Context, metadata *C.Metadata,
func (s *SingMux) SupportUDP() bool { func (s *SingMux) SupportUDP() bool {
if s.onlyTcp { if s.onlyTcp {
return s.ProxyAdapter.SupportUOT() return s.ProxyAdapter.SupportUDP()
} }
return true return true
} }