From: Guus Sliepen Date: Sun, 8 Dec 2013 20:37:56 +0000 (+0100) Subject: Remove erroneous warning about SPTPS being disabled. X-Git-Tag: release-1.1pre10~26 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=ef8efdfff1de2b18092f9d4f383e3f2898bf86cd;p=tinc Remove erroneous warning about SPTPS being disabled. --- diff --git a/src/net_setup.c b/src/net_setup.c index 98e6ece2..858992c8 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -673,7 +673,8 @@ static bool setup_myself(void) { if(!get_config_bool(lookup_config(config_tree, "ExperimentalProtocol"), &experimental)) { experimental = read_ecdsa_private_key(); - logger(DEBUG_ALWAYS, LOG_WARNING, "Support for SPTPS disabled."); + if(!experimental) + logger(DEBUG_ALWAYS, LOG_WARNING, "Support for SPTPS disabled."); } else { if(experimental && !read_ecdsa_private_key()) return false;