summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 8dbfc74..a3c6d14 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -307,7 +307,7 @@ static inline void maintenance(void) {
fastd_socket_handle_binds();
fastd_peer_maintenance();
- ctx.next_maintenance.tv_sec += conf.maintenance_interval;
+ ctx.next_maintenance.tv_sec += MAINTENANCE_INTERVAL;
}
@@ -541,7 +541,7 @@ int main(int argc, char *argv[]) {
fastd_update_time();
- ctx.next_maintenance = fastd_in_seconds(conf.maintenance_interval);
+ ctx.next_maintenance = fastd_in_seconds(MAINTENANCE_INTERVAL);
ctx.unknown_handshakes[0].timeout = ctx.now;