mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-26 15:40:06 +00:00
network: use explicit bool conversions in GetAvailableNetworkInterfaces
This commit is contained in:
parent
765e97c347
commit
771de32af1
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user