projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be1446f
)
Remove erroneous warning about SPTPS being disabled.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 8 Dec 2013 20:37:56 +0000
(21:37 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 8 Dec 2013 20:37:56 +0000
(21:37 +0100)
src/net_setup.c
patch
|
blob
|
history
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
98e6ece
..
858992c
100644
(file)
--- 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;