From 23d90c62f2807bda87c6021785e6e51d3c627e0c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 26 Jan 2014 01:52:00 +0100 Subject: Add minimum handshake interval for unknown addresses (handles up to 8 addresses for now) --- src/fastd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index 5be7a61..7c34720 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -921,6 +921,8 @@ int main(int argc, char *argv[]) { ctx.next_keepalives = ctx.now; ctx.next_keepalives.tv_sec += conf.keepalive_interval; + ctx.unknown_handshakes[0].timeout = ctx.now; + pr_info(&ctx, "fastd " FASTD_VERSION " starting"); fastd_cap_init(&ctx); -- cgit v1.2.3