From 47d7324b1d92e0a7614a17561e5c2f58b4b466a1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 11 Oct 2011 09:37:04 +0200 Subject: pingu_host.c: wait a sec before we send first burst This is so we get time to detect routes from kernel --- pingu_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pingu_host.c b/pingu_host.c index ca09788..afb4dd7 100644 --- a/pingu_host.c +++ b/pingu_host.c @@ -125,7 +125,7 @@ int pingu_host_init(struct ev_loop *loop) if (host->label == NULL) host->label = host->host; ev_timer_init(&host->burst_timeout_watcher, - pingu_burst_timeout_cb, 0, host->burst_interval); + pingu_burst_timeout_cb, 1.0, host->burst_interval); ev_timer_start(loop, &host->burst_timeout_watcher); if (host->iface->required_hosts_online == 0) -- cgit v1.2.3