summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-02 01:28:34 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-02 01:28:34 +0200
commit3c83faaa1660a70932c14b0fb1f9175b531cdf10 (patch)
tree920f34939c1cabafed056bbd6f51898991616e85 /src/config.c
parent9e45032bd53d07e78c2ec41f1ae9d0d75e4910ce (diff)
downloadfastd-3c83faaa1660a70932c14b0fb1f9175b531cdf10.tar
fastd-3c83faaa1660a70932c14b0fb1f9175b531cdf10.zip
Add sending of keep-alive packets
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 358a785..1842891 100644
--- a/src/config.c
+++ b/src/config.c
@@ -51,6 +51,7 @@ extern fastd_protocol fastd_protocol_ec25519_fhmqvc_xsalsa20_poly1305;
static void default_config(fastd_config *conf) {
conf->loglevel = LOG_INFO;
+ conf->keepalive_interval = 60;
conf->peer_stale_time = 300;
conf->peer_stale_time_temp = 30;
conf->eth_addr_stale_time = 300;