summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Morph2021-09-30 21:20:33 -0400
committerGravatar Morph2021-10-01 23:38:44 -0400
commit219d0ba9780376814d3100303d6b704edf97b247 (patch)
tree5eab845bb5b2b5461b58b8195977631f2fbbe6ce /src
parentMerge pull request #7102 from Morph1984/remove-boxcat (diff)
downloadyuzu-219d0ba9780376814d3100303d6b704edf97b247.tar.gz
yuzu-219d0ba9780376814d3100303d6b704edf97b247.tar.xz
yuzu-219d0ba9780376814d3100303d6b704edf97b247.zip
network: Do not log IP address
Logging this may be a privacy concern for some users.
Diffstat (limited to 'src')
-rw-r--r--src/core/network/network.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/network/network.cpp b/src/core/network/network.cpp
index 72eea52f0..a3e0664b9 100644
--- a/src/core/network/network.cpp
+++ b/src/core/network/network.cpp
@@ -366,8 +366,6 @@ std::optional<IPv4Address> GetHostIPv4Address() {
366 if (res != network_interfaces.end()) { 366 if (res != network_interfaces.end()) {
367 char ip_addr[16] = {}; 367 char ip_addr[16] = {};
368 ASSERT(inet_ntop(AF_INET, &res->ip_address, ip_addr, sizeof(ip_addr)) != nullptr); 368 ASSERT(inet_ntop(AF_INET, &res->ip_address, ip_addr, sizeof(ip_addr)) != nullptr);
369 LOG_INFO(Network, "IP address: {}", ip_addr);
370
371 return TranslateIPv4(res->ip_address); 369 return TranslateIPv4(res->ip_address);
372 } else { 370 } else {
373 LOG_ERROR(Network, "Couldn't find selected interface \"{}\"", selected_network_interface); 371 LOG_ERROR(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);