summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fastd.c b/src/fastd.c
index d6bfa2f..e456f14 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -879,6 +879,7 @@ int main(int argc, char *argv[]) {
fastd_config_t conf;
fastd_configure(&ctx, &conf, argc, argv);
+ ctx.conf = &conf;
if (conf.generate_key) {
conf.protocol->generate_key(&ctx);
@@ -899,6 +900,8 @@ int main(int argc, char *argv[]) {
init_log(&ctx);
+ fastd_config_check(&ctx, &conf);
+
update_time(&ctx);
conf.long_ago = ctx.now;