From 29bdd55286e22366fa8709d6e3742f2e0005403d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 24 Mar 2012 22:35:26 +0100 Subject: Fix a config file parse bug --- src/config.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.y') 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 -- cgit v1.2.3