From 219d0ba9780376814d3100303d6b704edf97b247 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Thu, 30 Sep 2021 21:20:33 -0400 Subject: [PATCH] network: Do not log IP address Logging this may be a privacy concern for some users. --- src/core/network/network.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/network/network.cpp b/src/core/network/network.cpp index 72eea52f03..a3e0664b92 100644 --- a/src/core/network/network.cpp +++ b/src/core/network/network.cpp @@ -366,8 +366,6 @@ std::optional GetHostIPv4Address() { if (res != network_interfaces.end()) { char ip_addr[16] = {}; ASSERT(inet_ntop(AF_INET, &res->ip_address, ip_addr, sizeof(ip_addr)) != nullptr); - LOG_INFO(Network, "IP address: {}", ip_addr); - return TranslateIPv4(res->ip_address); } else { LOG_ERROR(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);