summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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