2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

nifm: treat a missing host IP address as a non-critical error

This commit is contained in:
Sönke Holz 2021-08-13 00:21:54 +02:00
parent 78a8249593
commit 970d81abfc

View file

@ -324,7 +324,7 @@ private:
auto ipv4 = Network::GetHostIPv4Address(); auto ipv4 = Network::GetHostIPv4Address();
if (!ipv4) { if (!ipv4) {
LOG_CRITICAL(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0"); LOG_ERROR(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0");
ipv4.emplace(Network::IPv4Address{0, 0, 0, 0}); ipv4.emplace(Network::IPv4Address{0, 0, 0, 0});
} }
@ -359,7 +359,7 @@ private:
auto ipv4 = Network::GetHostIPv4Address(); auto ipv4 = Network::GetHostIPv4Address();
if (!ipv4) { if (!ipv4) {
LOG_CRITICAL(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0"); LOG_ERROR(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0");
ipv4.emplace(Network::IPv4Address{0, 0, 0, 0}); ipv4.emplace(Network::IPv4Address{0, 0, 0, 0});
} }