mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 15:43:56 +00:00
Fix empty if test typo
This commit is contained in:
parent
6ee774f10b
commit
37316abe0f
@ -1195,7 +1195,7 @@ 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user