mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 13:17:56 +00:00
Squelch warning when we have no peers
This commit is contained in:
parent
8ab5073869
commit
b9410705e6
@ -217,10 +217,8 @@ int overlay_payload_enqueue(struct overlay_frame *p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// just drop it now
|
// just drop it now
|
||||||
if (interface_copies == 0){
|
if (interface_copies == 0)
|
||||||
WARN("No broadcast interfaces to send with");
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
|
||||||
|
|
||||||
// allow the packet to be resent
|
// allow the packet to be resent
|
||||||
if (p->resend == 0)
|
if (p->resend == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user