mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-01 00:12:55 +00:00
nifm: treat a missing host IP address as a non-critical error
This commit is contained in:
parent
78a8249593
commit
970d81abfc
|
@ -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});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue