summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-11-10 14:47:28 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-11-10 14:47:28 +0100
commit68b33305cc7d258b5556a30f6cb96e1882bda0d7 (patch)
tree72c4bda91103a6d56e4b881c66e0cd751976c727 /src/config.c
parentc0e60d482394f248f9edc627d05a147a09bc5c4c (diff)
downloadfastd-68b33305cc7d258b5556a30f6cb96e1882bda0d7.tar
fastd-68b33305cc7d258b5556a30f6cb96e1882bda0d7.zip
Give the default peer group a name
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 6dbbe08..409a83b 100644
--- a/src/config.c
+++ b/src/config.c
@@ -117,6 +117,7 @@ static void default_config(fastd_config *conf) {
#endif
conf->peer_group = calloc(1, sizeof(fastd_peer_group_config));
+ conf->peer_group->name = strdup("default");
}
static bool config_match(const char *opt, ...) {