mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -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))
|
||||
if h.option.ReceiveOriginalDest && noob > 0 {
|
||||
payload.originalDest = RetrieveOriginalDest(oobBytes[:noob])
|
||||
if !payload.originalDest.IsValid() {
|
||||
newError("failed to read UDP Original Destination").WriteToLog()
|
||||
if payload.originalDest.IsValid() {
|
||||
newError("UDP original destination: ", payload.originalDest).AtDebug().WriteToLog()
|
||||
} else {
|
||||
newError("UDP Original Destination: ", payload.originalDest.String()).AtDebug().WriteToLog()
|
||||
newError("failed to read UDP original destination").WriteToLog()
|
||||
}
|
||||
}
|
||||
h.queue.Enqueue(payload)
|
||||
|
Loading…
Reference in New Issue
Block a user