summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2021-10-02 23:19:34 -0700
committerGravatar GitHub2021-10-02 23:19:34 -0700
commit4a77ceb1510f3c97abcf739a893a4d0f2f5bba6e (patch)
tree8fed3d909c6ef149c8ef3fb49f7452ca89cb02df /src/core
parentMerge pull request #6979 from german77/joycon_name (diff)
parentnetwork: Do not log IP address (diff)
downloadyuzu-4a77ceb1510f3c97abcf739a893a4d0f2f5bba6e.tar.gz
yuzu-4a77ceb1510f3c97abcf739a893a4d0f2f5bba6e.tar.xz
yuzu-4a77ceb1510f3c97abcf739a893a4d0f2f5bba6e.zip
Merge pull request #7113 from Morph1984/no-log-ip-addr
network: Do not log IP address
Diffstat (limited to 'src/core')
-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);