aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.c b/config.c
index 1548c102..bcebcb2a 100644
--- a/config.c
+++ b/config.c
@@ -813,8 +813,12 @@ parse_section_csd(const char *key, const char *value, struct config *conf,
conf->csd.preferred = CONF_CSD_PREFER_SERVER;
else if (strcmp(value, "client") == 0)
conf->csd.preferred = CONF_CSD_PREFER_CLIENT;
+ else if (strcmp(value, "none") == 0)
+ conf->csd.preferred = CONF_CSD_PREFER_NONE;
else {
- LOG_AND_NOTIFY_ERR("%s:%d: csd.preferred: expected either 'server' or 'client'", path, lineno);
+ LOG_AND_NOTIFY_ERR(
+ "%s:%d: csd.preferred: expected either "
+ "'server', 'client' or 'none'", path, lineno);
return false;
}
}