mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Reduce unintentional chattiness
This commit is contained in:
parent
bf0abad719
commit
4fd86004ab
@ -903,7 +903,7 @@ static int send_neighbour_link(struct neighbour *n)
|
|||||||
{
|
{
|
||||||
struct overlay_interface *i = n->best_link->interface;
|
struct overlay_interface *i = n->best_link->interface;
|
||||||
int delay = 0;
|
int delay = 0;
|
||||||
if (n->best_link->unicast)
|
if (n->best_link->unicast && i->ifconfig.unicast.tick_ms>0)
|
||||||
delay = i->ifconfig.unicast.tick_ms;
|
delay = i->ifconfig.unicast.tick_ms;
|
||||||
if (delay==0)
|
if (delay==0)
|
||||||
delay = i->destination->ifconfig.tick_ms;
|
delay = i->destination->ifconfig.tick_ms;
|
||||||
|
Loading…
Reference in New Issue
Block a user