diff options
author | Sönke Holz <sholz8530@gmail.com> | 2021-08-13 00:31:33 +0200 |
---|---|---|
committer | Sönke Holz <sholz8530@gmail.com> | 2021-08-13 00:31:33 +0200 |
commit | 771de32af16f70d63c76f2f95698be7751374c4c (patch) | |
tree | 251a1e8c5770ae96b2c2dbb78c0afaf4999d8edd /src/core | |
parent | network: initialize ip_addr in GetHostIPv4Address() (diff) | |
download | yuzu-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.cpp | 2 |
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; } |