1
0
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:
Darien Raymond 2018-02-12 11:52:57 +01:00
parent 5133ca17d1
commit 94e930175a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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)