diff options
| author | 2021-08-13 00:21:54 +0200 | |
|---|---|---|
| committer | 2021-08-13 00:21:54 +0200 | |
| commit | 970d81abfcbcca905bbfb52f415c38ab5da812e9 (patch) | |
| tree | c575fb8c93dabb3ee7ead2f58da667fb872959a2 /src/core | |
| parent | Merge branch 'yuzu-emu:master' into fix-lan-play (diff) | |
| download | yuzu-970d81abfcbcca905bbfb52f415c38ab5da812e9.tar.gz yuzu-970d81abfcbcca905bbfb52f415c38ab5da812e9.tar.xz yuzu-970d81abfcbcca905bbfb52f415c38ab5da812e9.zip | |
nifm: treat a missing host IP address as a non-critical error
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index 168053d80..f2ab4ffaa 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp | |||
| @@ -324,7 +324,7 @@ private: | |||
| 324 | 324 | ||
| 325 | auto ipv4 = Network::GetHostIPv4Address(); | 325 | auto ipv4 = Network::GetHostIPv4Address(); |
| 326 | if (!ipv4) { | 326 | if (!ipv4) { |
| 327 | LOG_CRITICAL(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0"); | 327 | LOG_ERROR(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0"); |
| 328 | ipv4.emplace(Network::IPv4Address{0, 0, 0, 0}); | 328 | ipv4.emplace(Network::IPv4Address{0, 0, 0, 0}); |
| 329 | } | 329 | } |
| 330 | 330 | ||
| @@ -359,7 +359,7 @@ private: | |||
| 359 | 359 | ||
| 360 | auto ipv4 = Network::GetHostIPv4Address(); | 360 | auto ipv4 = Network::GetHostIPv4Address(); |
| 361 | if (!ipv4) { | 361 | if (!ipv4) { |
| 362 | LOG_CRITICAL(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0"); | 362 | LOG_ERROR(Service_NIFM, "Couldn't get host IPv4 address, defaulting to 0.0.0.0"); |
| 363 | ipv4.emplace(Network::IPv4Address{0, 0, 0, 0}); | 363 | ipv4.emplace(Network::IPv4Address{0, 0, 0, 0}); |
| 364 | } | 364 | } |
| 365 | 365 | ||