summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-19 02:09:04 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-19 02:09:35 +0200
commit86888f3e1b6ccc0691bbd881f6a8e68b252c367e (patch)
tree66cf39bb08d89587e7a6521d9a6a351a965cd057 /src/config.c
parentd4c410f99a3e95478727a50e9d78d1b66cb57c19 (diff)
downloadfastd-86888f3e1b6ccc0691bbd881f6a8e68b252c367e.tar
fastd-86888f3e1b6ccc0691bbd881f6a8e68b252c367e.zip
Optimize maintenance routine (and don't run it more often than necessary)
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 58327a5..4453942 100644
--- a/src/config.c
+++ b/src/config.c
@@ -51,7 +51,7 @@ static void default_config(fastd_config_t *conf) {
conf->log_syslog_ident = strdup("fastd");
- conf->keepalive_interval = 10;
+ conf->maintenance_interval = 10;
conf->keepalive_timeout = 15;
conf->peer_stale_time = 90;
conf->eth_addr_stale_time = 300;