X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.c;h=11fbcb1ce4ff5b0414be47d35f8e0206e9b2b4f8;hb=e9de08be0dab58a48f9a8ce3d250516cf05d6b8e;hp=1a450413a11d7907310591a5db34dea0826e7a38;hpb=05dac63dbc03dc5a64a7f4b50e24eb3766135916;p=tinc diff --git a/src/net.c b/src/net.c index 1a450413..11fbcb1c 100644 --- a/src/net.c +++ b/src/net.c @@ -344,7 +344,7 @@ int reload_configuration(void) { for(node = myself->subnet_tree->head; node; node = node->next) { subnet_t *subnet = node->data; - logger(DEBUG_ALWAYS, LOG_DEBUG, "subnet %p expires %d\n", subnet, (int)subnet->expires); + logger(DEBUG_ALWAYS, LOG_DEBUG, "subnet %p expires %d", subnet, (int)subnet->expires); if(!subnet->expires) subnet->expires = 1; } @@ -356,7 +356,7 @@ int reload_configuration(void) { continue; if((s2 = lookup_subnet(myself, subnet))) { - logger(DEBUG_ALWAYS, LOG_DEBUG, "read subnet that already exists: %p expires %d\n", s2, (int)s2->expires); + logger(DEBUG_ALWAYS, LOG_DEBUG, "read subnet that already exists: %p expires %d", s2, (int)s2->expires); if(s2->expires == 1) s2->expires = 0;