mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 22:42:47 +00:00
network: Do not log IP address
Logging this may be a privacy concern for some users.
This commit is contained in:
parent
3a33519598
commit
219d0ba978
|
@ -366,8 +366,6 @@ std::optional<IPv4Address> GetHostIPv4Address() {
|
||||||
if (res != network_interfaces.end()) {
|
if (res != network_interfaces.end()) {
|
||||||
char ip_addr[16] = {};
|
char ip_addr[16] = {};
|
||||||
ASSERT(inet_ntop(AF_INET, &res->ip_address, ip_addr, sizeof(ip_addr)) != nullptr);
|
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);
|
return TranslateIPv4(res->ip_address);
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);
|
LOG_ERROR(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);
|
||||||
|
|
Loading…
Reference in a new issue