Merge pull request #705 from jemmy1794/v3.2.4

Fix: #659
This commit is contained in:
Toby Chui
2025-06-24 14:24:26 +08:00
committed by GitHub

View File

@ -90,8 +90,8 @@ func (c *ProxyRelayConfig) ForwardUDP(address1, address2 string, stopChan chan b
address1 = ":" + address1 address1 = ":" + address1
} }
if strings.HasPrefix(address1, ":") { if strings.HasPrefix(address1, ":") {
//Prepend 127.0.0.1 to the address //Prepend 0.0.0.0 to the address
address1 = "127.0.0.1" + address1 address1 = "0.0.0.0" + address1
} }
lisener, targetAddr, err := initUDPConnections(address1, address2) lisener, targetAddr, err := initUDPConnections(address1, address2)