yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

network: use explicit bool conversions in GetAvailableNetworkInterfaces

This commit is contained in:
Sönke Holz 2021-08-13 00:31:33 +02:00
parent 765e97c347
commit 771de32af1
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ std::vector<NetworkInterface> GetAvailableNetworkInterfaces() {
continue; continue;
} }
if (!(ifa->ifa_flags & IFF_UP) || ifa->ifa_flags & IFF_LOOPBACK) { if ((ifa->ifa_flags & IFF_UP) == 0 || (ifa->ifa_flags & IFF_LOOPBACK) != 0) {
continue; continue;
} }