mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-22 09:54:14 +00:00
VLESS fallbacks: dest
defaults to "127.0.0.1" -> "localhost" (#4840)
https://github.com/XTLS/Xray-examples/issues/234#issuecomment-3091319391
This commit is contained in:
parent
10dbeb4335
commit
abd551e9f7
4 changed files with 4 additions and 4 deletions
|
@ -544,7 +544,7 @@ func (c *REALITYConfig) Build() (proto.Message, error) {
|
|||
}
|
||||
default:
|
||||
if _, err = strconv.Atoi(s); err == nil {
|
||||
s = "127.0.0.1:" + s
|
||||
s = "localhost:" + s
|
||||
}
|
||||
if _, _, err = net.SplitHostPort(s); err == nil {
|
||||
c.Type = "tcp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue