forked from ShuriZma/suyu
1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ private:
auto ipv4 = Network::GetHostIPv4Address();
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});
}
@ -359,7 +359,7 @@ private:
auto ipv4 = Network::GetHostIPv4Address();
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});
}