fix: singmux return wrong supportUDP value

This commit is contained in:
gVisor bot 2023-06-14 15:51:13 +08:00
parent dd0c347c28
commit ea9a082c04

View File

@ -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
}