diff --git a/pcsx2/DEV9/AdapterUtils.cpp b/pcsx2/DEV9/AdapterUtils.cpp index 46384fc5d9..bb274f3c62 100644 --- a/pcsx2/DEV9/AdapterUtils.cpp +++ b/pcsx2/DEV9/AdapterUtils.cpp @@ -384,7 +384,8 @@ std::vector AdapterUtils::GetGateways(const Adapter* adapter) if (ReadAddressFamily(address->Address.lpSockaddr) == AF_INET) { const sockaddr_in* sockaddr = reinterpret_cast(address->Address.lpSockaddr); - collection.push_back(std::bit_cast(sockaddr->sin_addr)); + if (sockaddr->sin_addr.S_un.S_addr != 0) + collection.push_back(std::bit_cast(sockaddr->sin_addr)); } address = address->Next; }