summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSönke Holz <sholz8530@gmail.com>2021-08-13 00:31:33 +0200
committerSönke Holz <sholz8530@gmail.com>2021-08-13 00:31:33 +0200
commit771de32af16f70d63c76f2f95698be7751374c4c (patch)
tree251a1e8c5770ae96b2c2dbb78c0afaf4999d8edd
parentnetwork: initialize ip_addr in GetHostIPv4Address() (diff)
downloadyuzu-771de32af16f70d63c76f2f95698be7751374c4c.tar
yuzu-771de32af16f70d63c76f2f95698be7751374c4c.tar.gz
yuzu-771de32af16f70d63c76f2f95698be7751374c4c.tar.bz2
yuzu-771de32af16f70d63c76f2f95698be7751374c4c.tar.lz
yuzu-771de32af16f70d63c76f2f95698be7751374c4c.tar.xz
yuzu-771de32af16f70d63c76f2f95698be7751374c4c.tar.zst
yuzu-771de32af16f70d63c76f2f95698be7751374c4c.zip
Diffstat (limited to '')
-rw-r--r--src/core/network/network_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network/network_interface.cpp b/src/core/network/network_interface.cpp
index 2b53682ea..887aee708 100644
--- a/src/core/network/network_interface.cpp
+++ b/src/core/network/network_interface.cpp
@@ -92,7 +92,7 @@ std::vector<NetworkInterface> GetAvailableNetworkInterfaces() {
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;
}