summaryrefslogtreecommitdiff
path: root/toxcore/DHT.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r--toxcore/DHT.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 653b401f..919655a2 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -330,9 +330,9 @@ static int client_or_ip_port_in_list(Client_data *list, uint16_t length, const u
330 if (ip_port.ip.family == AF_INET) { 330 if (ip_port.ip.family == AF_INET) {
331 331
332 LOGGER_SCOPE( if (!ipport_equal(&list[i].assoc4.ip_port, &ip_port)) { 332 LOGGER_SCOPE( if (!ipport_equal(&list[i].assoc4.ip_port, &ip_port)) {
333 LOGGER_INFO("coipil[%u]: switching ipv4 from %s:%u to %s:%u", i, 333 LOGGER_TRACE("coipil[%u]: switching ipv4 from %s:%u to %s:%u", i,
334 ip_ntoa(&list[i].assoc4.ip_port.ip), ntohs(list[i].assoc4.ip_port.port), 334 ip_ntoa(&list[i].assoc4.ip_port.ip), ntohs(list[i].assoc4.ip_port.port),
335 ip_ntoa(&ip_port.ip), ntohs(ip_port.port)); 335 ip_ntoa(&ip_port.ip), ntohs(ip_port.port));
336 } 336 }
337 ); 337 );
338 338
@@ -344,9 +344,9 @@ static int client_or_ip_port_in_list(Client_data *list, uint16_t length, const u
344 } else if (ip_port.ip.family == AF_INET6) { 344 } else if (ip_port.ip.family == AF_INET6) {
345 345
346 LOGGER_SCOPE( if (!ipport_equal(&list[i].assoc4.ip_port, &ip_port)) { 346 LOGGER_SCOPE( if (!ipport_equal(&list[i].assoc4.ip_port, &ip_port)) {
347 LOGGER_INFO("coipil[%u]: switching ipv6 from %s:%u to %s:%u", i, 347 LOGGER_TRACE("coipil[%u]: switching ipv6 from %s:%u to %s:%u", i,
348 ip_ntoa(&list[i].assoc6.ip_port.ip), ntohs(list[i].assoc6.ip_port.port), 348 ip_ntoa(&list[i].assoc6.ip_port.ip), ntohs(list[i].assoc6.ip_port.port),
349 ip_ntoa(&ip_port.ip), ntohs(ip_port.port)); 349 ip_ntoa(&ip_port.ip), ntohs(ip_port.port));
350 } 350 }
351 ); 351 );
352 352