diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-01-26 01:52:00 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-01-26 01:52:00 +0100 |
commit | 23d90c62f2807bda87c6021785e6e51d3c627e0c (patch) | |
tree | 6327ca4bde6a9b4a796cabac53dd8fd87070bb3c /src/fastd.c | |
parent | 8430688acb6e922bba903f04f560744736853c07 (diff) | |
download | fastd-23d90c62f2807bda87c6021785e6e51d3c627e0c.tar fastd-23d90c62f2807bda87c6021785e6e51d3c627e0c.zip |
Add minimum handshake interval for unknown addresses (handles up to 8 addresses for now)
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |