summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-06-05 00:44:05 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-06-05 00:44:05 +0200
commit450bbeb8a00cc695cc2c62f48c821388d6191e00 (patch)
tree8341bee2e730850ab0c8e8fb37f5d7c2e083e4db /src/config.c
parentb6b6e059d7343165633eda7b3b4605220751d2dd (diff)
downloadfastd-450bbeb8a00cc695cc2c62f48c821388d6191e00.tar
fastd-450bbeb8a00cc695cc2c62f48c821388d6191e00.zip
Add support for receiving reordered packets
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 f826c18..015ff8f 100644
--- a/src/config.c
+++ b/src/config.c
@@ -60,6 +60,9 @@ static void default_config(fastd_config *conf) {
conf->peer_stale_time = 90;
conf->eth_addr_stale_time = 300;
+ conf->reorder_count = 32;
+ conf->reorder_time = 10;
+
conf->ifname = NULL;
memset(&conf->bind_addr_in, 0, sizeof(struct sockaddr_in));