fix: smux should show its support udp and uot

This commit is contained in:
wwqgtxx
2023-04-23 21:50:42 +08:00
parent 0c61057551
commit 7f1b7e7521
2 changed files with 15 additions and 1 deletions

View File

@ -92,7 +92,7 @@ func (r *Relay) SupportUDP() bool {
switch proxy.SupportWithDialer() {
case C.ALLNet:
case C.UDP:
default: // C.TCP and C.NONet
default: // C.TCP and C.InvalidNet
return false
}
}