mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 15:01:22 +02:00
smarter port selection
This commit is contained in:
@@ -58,7 +58,7 @@ func newStreamRouteBase(config *ProxyConfig) (*StreamRouteBase, error) {
|
||||
dstPort = portSplit[1]
|
||||
}
|
||||
|
||||
if port, hasName := NamePortMap[dstPort]; hasName {
|
||||
if port, hasName := NamePortMapTCP[dstPort]; hasName {
|
||||
dstPort = port
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user