Fix typo in logging statement.
authorEtienne Dechamps <etienne@edechamps.fr>
Tue, 30 Dec 2014 09:56:30 +0000 (09:56 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 10 Jan 2015 23:04:01 +0000 (00:04 +0100)
This was introduced in cfe9285adf391ab66faeb5def811fe08e47a221a.

src/protocol_key.c

index d373858..8cbec1b 100644 (file)
@@ -412,7 +412,7 @@ bool ans_key_h(connection_t *c, const char *request) {
        }
 
 #ifdef DISABLE_LEGACY
-       logger(DEBUG_ALWAYS, LOG_ERR, "Node %s (%) uses legacy protocol!", from->name, from->hostname);
+       logger(DEBUG_ALWAYS, LOG_ERR, "Node %s (%s) uses legacy protocol!", from->name, from->hostname);
        return false;
 #else
        /* Check and lookup cipher and digest algorithms */