mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
update log
This commit is contained in:
parent
5133ca17d1
commit
94e930175a
@ -150,10 +150,10 @@ func (h *Hub) start() {
|
|||||||
payload.source = net.UDPDestination(net.IPAddress(addr.IP), net.Port(addr.Port))
|
payload.source = net.UDPDestination(net.IPAddress(addr.IP), net.Port(addr.Port))
|
||||||
if h.option.ReceiveOriginalDest && noob > 0 {
|
if h.option.ReceiveOriginalDest && noob > 0 {
|
||||||
payload.originalDest = RetrieveOriginalDest(oobBytes[:noob])
|
payload.originalDest = RetrieveOriginalDest(oobBytes[:noob])
|
||||||
if !payload.originalDest.IsValid() {
|
if payload.originalDest.IsValid() {
|
||||||
newError("failed to read UDP Original Destination").WriteToLog()
|
newError("UDP original destination: ", payload.originalDest).AtDebug().WriteToLog()
|
||||||
} else {
|
} else {
|
||||||
newError("UDP Original Destination: ", payload.originalDest.String()).AtDebug().WriteToLog()
|
newError("failed to read UDP original destination").WriteToLog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h.queue.Enqueue(payload)
|
h.queue.Enqueue(payload)
|
||||||
|
Loading…
Reference in New Issue
Block a user