mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-06 12:08:33 +00:00
fix: singmux return wrong supportUDP value
This commit is contained in:
1 parent
f4b734c74c
commit
bda2ca3c13
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user