diff --git a/route_link.c b/route_link.c index 6a64923f..e7a49427 100644 --- a/route_link.c +++ b/route_link.c @@ -1174,8 +1174,9 @@ int link_received_packet(struct decode_context *context, int sender_seq, char un // force an update when we start hearing a new neighbour link if (link->link_timeout < now){ - if (neighbour->next_neighbour_update > now + 10); + if (neighbour->next_neighbour_update > now + 10) { neighbour->next_neighbour_update = now + 10; + } } link->link_timeout = now + (context->interface->destination->tick_ms *5);