summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-24 22:35:26 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-24 22:35:26 +0100
commit29bdd55286e22366fa8709d6e3742f2e0005403d (patch)
treece5700ac8f803929b811fb962cebad7b5bd238c2 /src
parent359e9b6c2b0cc4817b55338f0b89638945d98c50 (diff)
downloadfastd-29bdd55286e22366fa8709d6e3742f2e0005403d.tar
fastd-29bdd55286e22366fa8709d6e3742f2e0005403d.zip
Fix a config file parse bug
Diffstat (limited to 'src')
-rw-r--r--src/config.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.y b/src/config.y
index a949860..e062ff1 100644
--- a/src/config.y
+++ b/src/config.y
@@ -107,7 +107,7 @@ protocol: maybe_string {
if (!strcmp($1, "null"))
conf->protocol = &fastd_protocol_null;
#ifdef WITH_PROTOCOL_ECFXP
- if (!strcmp($1, "ecfxp"))
+ else if (!strcmp($1, "ecfxp"))
conf->protocol = &fastd_protocol_ec25519_fhmqvc_xsalsa20_poly1305;
#endif
else