diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-11 09:37:04 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-11 09:37:04 +0200 |
commit | 47d7324b1d92e0a7614a17561e5c2f58b4b466a1 (patch) | |
tree | 98f6f840edd34a2b462ff398334b4a4aebe79f4c /pingu_host.c | |
parent | 62fc2aed4b5e12d928a10bde65b787200c103a6f (diff) | |
download | pingu-47d7324b1d92e0a7614a17561e5c2f58b4b466a1.tar.bz2 pingu-47d7324b1d92e0a7614a17561e5c2f58b4b466a1.tar.xz |
pingu_host.c: wait a sec before we send first burst
This is so we get time to detect routes from kernel
Diffstat (limited to 'pingu_host.c')
-rw-r--r-- | pingu_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |