summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-30 18:40:23 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-30 18:40:23 +0200
commit342d63a45a8918e45ddcf6a0b82b2f593f4bde12 (patch)
tree0f8117faa5d5e9f8b50e6e2014d9922ee0b35d14 /src/config.c
parent9ee88db0f8c03951b84cd266fb85f314e8852937 (diff)
downloadfastd-342d63a45a8918e45ddcf6a0b82b2f593f4bde12.tar
fastd-342d63a45a8918e45ddcf6a0b82b2f593f4bde12.zip
Limit key validity
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 5da6abe..1eda277 100644
--- a/src/config.c
+++ b/src/config.c
@@ -62,8 +62,11 @@ static void default_config(fastd_config *conf) {
conf->mtu = 1500;
conf->mode = MODE_TAP;
+
conf->protocol = &fastd_protocol_null;
conf->secret = NULL;
+ conf->rekey = 3600;
+
conf->peers = NULL;
conf->on_up = NULL;