diff --git a/overlay_queue.c b/overlay_queue.c index c8524e42..a5b21cf7 100644 --- a/overlay_queue.c +++ b/overlay_queue.c @@ -322,10 +322,10 @@ overlay_calc_queue_time(overlay_txqueue *queue, struct overlay_frame *frame){ int i; for(i=0;iinterface_sent_sequence[i]==FRAME_DONT_SEND && !frame->destination) + if ((!frame->destination) && (frame->interface_sent_sequence[i]==FRAME_DONT_SEND || + !link_state_interface_has_neighbour(&overlay_interfaces[i]))) continue; time_ms_t next_packet = limit_next_allowed(&overlay_interfaces[i].transfer_limit); if (next_packet < frame->interface_dont_send_until[i])