diff --git a/pcsx2/DEV9/pcap_io.cpp b/pcsx2/DEV9/pcap_io.cpp index 017209e473..e489cc0225 100644 --- a/pcsx2/DEV9/pcap_io.cpp +++ b/pcsx2/DEV9/pcap_io.cpp @@ -70,7 +70,7 @@ bool PCAPGetWin32Adapter(const char* name, PIP_ADAPTER_ADDRESSES adapter, std::u DWORD dwStatus = GetAdaptersAddresses( AF_UNSPEC, - GAA_FLAG_INCLUDE_PREFIX, + GAA_FLAG_INCLUDE_PREFIX | GAA_FLAG_INCLUDE_GATEWAYS, NULL, AdapterInfo.get(), &dwBufLen); @@ -85,7 +85,7 @@ bool PCAPGetWin32Adapter(const char* name, PIP_ADAPTER_ADDRESSES adapter, std::u DWORD dwStatus = GetAdaptersAddresses( AF_UNSPEC, - GAA_FLAG_INCLUDE_PREFIX, + GAA_FLAG_INCLUDE_PREFIX | GAA_FLAG_INCLUDE_GATEWAYS, NULL, AdapterInfo.get(), &dwBufLen);