From 4064bb6062452491acdcdeab23f2a4e7727210ce Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 25 Aug 2007 18:53:04 +0200 Subject: [PATCH] Send a more accurate hello_interval when leaving the network. --- babel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.c b/babel.c index 95fae03..777e935 100644 --- a/babel.c +++ b/babel.c @@ -541,7 +541,7 @@ main(int argc, char **argv) send_self_retract(&nets[i]); /* Make sure that we expire quickly from our neighbours' association caches. */ - send_hello_noupdate(&nets[i], 1); + send_hello_noupdate(&nets[i], 15 * numnets); flushupdates(); flushbuf(&nets[i]); usleep(50000 + random() % 100000); -- 2.25.1