summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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