Squelch warning when we have no peers

This commit is contained in:
Jeremy Lakeman 2013-05-27 10:40:50 +09:30
parent 8ab5073869
commit b9410705e6

View File

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