1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 17:25:27 -05:00

get rid of annoying firewall warnings

This commit is contained in:
v2ray
2016-05-29 16:37:52 +02:00
parent c3aa839227
commit b47c1ca609
34 changed files with 110 additions and 51 deletions

View File

@@ -16,7 +16,7 @@ type Server struct {
func (server *Server) Start() (v2net.Destination, error) {
conn, err := net.ListenUDP("udp", &net.UDPAddr{
IP: []byte{0, 0, 0, 0},
IP: []byte{127, 0, 0, 1},
Port: int(server.Port),
Zone: "",
})