trace log packet on receive
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
0f802e3b23
commit
fc2e2a031d
|
@ -143,7 +143,7 @@ proc receive*(t: Transport, a: Address, packet: openArray[byte]) =
|
||||||
if packet.messageOpt.isSome():
|
if packet.messageOpt.isSome():
|
||||||
let message = packet.messageOpt.get()
|
let message = packet.messageOpt.get()
|
||||||
trace "Received message packet", myport = t.bindAddress.port, srcId = packet.srcId, address = a,
|
trace "Received message packet", myport = t.bindAddress.port, srcId = packet.srcId, address = a,
|
||||||
kind = message.kind, p = $packet
|
kind = message.kind
|
||||||
t.client.handleMessage(packet.srcId, a, message)
|
t.client.handleMessage(packet.srcId, a, message)
|
||||||
else:
|
else:
|
||||||
trace "Not decryptable message packet received", myport = t.bindAddress.port,
|
trace "Not decryptable message packet received", myport = t.bindAddress.port,
|
||||||
|
|
Loading…
Reference in New Issue