Fix crash when using Broadcast = direct.
[tinc] / src / node.c
index d6156b6..cf70f83 100644 (file)
@@ -142,7 +142,7 @@ node_t *lookup_node_udp(const sockaddr_t *sa) {
 
 void update_node_udp(node_t *n, const sockaddr_t *sa) {
        if(n == myself) {
-               logger(LOG_WARNING, "Trying to update UDP address of myself!\n");
+               logger(LOG_WARNING, "Trying to update UDP address of myself!");
                return;
        }