mirror of https://github.com/v2ray/v2ray-core
include base error
parent
50bc195f7f
commit
c693867603
|
@ -13,7 +13,7 @@ func (v *Server) listenUDP() error {
|
||||||
v.udpServer = udp.NewUDPServer(v.packetDispatcher)
|
v.udpServer = udp.NewUDPServer(v.packetDispatcher)
|
||||||
udpHub, err := udp.ListenUDP(v.meta.Address, v.meta.Port, udp.ListenOption{Callback: v.handleUDPPayload})
|
udpHub, err := udp.ListenUDP(v.meta.Address, v.meta.Port, udp.ListenOption{Callback: v.handleUDPPayload})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Socks: Failed to listen on udp ", v.meta.Address, ":", v.meta.Port)
|
log.Error("Socks: Failed to listen on udp (", v.meta.Address, ":", v.meta.Port, "): ", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
v.udpMutex.Lock()
|
v.udpMutex.Lock()
|
||||||
|
|
Loading…
Reference in New Issue