mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 22:36:26 -05:00
Merge pull request #7113 from Morph1984/no-log-ip-addr
network: Do not log IP address
This commit is contained in:
commit
4a77ceb151
1 changed files with 0 additions and 2 deletions
|
@ -366,8 +366,6 @@ std::optional<IPv4Address> 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);
|
||||
|
|
Loading…
Reference in a new issue