From ee8b2de4b795fbc3b292e14c9f088244a7e08690 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 31 Mar 2012 19:38:18 +0200 Subject: ecfxp: refresh session key periodically --- src/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 61cd42f..5acdc21 100644 --- a/src/config.c +++ b/src/config.c @@ -65,7 +65,8 @@ static void default_config(fastd_config *conf) { conf->protocol = &fastd_protocol_null; conf->secret = NULL; - conf->key_valid = 3600; + conf->key_valid = 3600; /* 60 minutes */ + conf->key_refresh = 3300; /* 55 minutes */ conf->peers = NULL; -- cgit v1.2.3