mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-28 10:21:46 +02:00
Compare commits
2 Commits
f276040ad0
...
4f1cd8a571
Author | SHA1 | Date | |
---|---|---|---|
4f1cd8a571 | |||
f6b3656bb1 |
@ -90,8 +90,8 @@ func (c *ProxyRelayConfig) ForwardUDP(address1, address2 string, stopChan chan b
|
||||
address1 = ":" + address1
|
||||
}
|
||||
if strings.HasPrefix(address1, ":") {
|
||||
//Prepend 127.0.0.1 to the address
|
||||
address1 = "127.0.0.1" + address1
|
||||
//Prepend 0.0.0.0 to the address
|
||||
address1 = "0.0.0.0" + address1
|
||||
}
|
||||
|
||||
lisener, targetAddr, err := initUDPConnections(address1, address2)
|
||||
|
Reference in New Issue
Block a user