summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-26 19:16:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-26 19:16:29 +0200
commit2ffca7de4ef14aa03bc5a855005edbc9849862a7 (patch)
tree7168a61299fd0e6b79b6d440018bab6db3914c54 /src/config.y
parente89cfb2f0b8159f602ecae6b53c0ee59b112601d (diff)
downloadfastd-2ffca7de4ef14aa03bc5a855005edbc9849862a7.tar
fastd-2ffca7de4ef14aa03bc5a855005edbc9849862a7.zip
Move around some structure fields
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.y b/src/config.y
index 2bc4fed..dc0f1be 100644
--- a/src/config.y
+++ b/src/config.y
@@ -125,6 +125,7 @@ peer: maybe_string {
memset(&current_peer->address, 0, sizeof(fastd_peer_address));
+ current_peer->enabled = true;
current_peer->address.sa.sa_family = AF_UNSPEC;
}
;