mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 06:03:12 +00:00
Fix segfault with debug.tx
This commit is contained in:
parent
7861658683
commit
6b64f0cded
@ -195,7 +195,7 @@ int overlay_payload_enqueue(int q, struct overlay_frame *p)
|
||||
|
||||
if (debug&DEBUG_PACKETTX)
|
||||
DEBUGF("Enqueuing packet for %s* (q[%d]length = %d)",
|
||||
alloca_tohex(p->destination->sid, 7),
|
||||
p->destination?alloca_tohex(p->destination->sid, 7): alloca_tohex(p->broadcast_id.id,BROADCAST_LEN),
|
||||
q,overlay_tx[q].length);
|
||||
|
||||
if (q<0||q>=OQ_MAX)
|
||||
|
Loading…
Reference in New Issue
Block a user