mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-04-15 04:06:07 +00:00
Fix uninitialized sin_family field returned from CheckWANAccess()
This commit is contained in:
@@ -607,6 +607,8 @@ bool CheckWANAccess(PSOCKADDR_IN wanAddr, PSOCKADDR_IN reportedWanAddr, bool* fo
|
||||
natpmp_t natpmp;
|
||||
bool foundUpnpIgd = false;
|
||||
|
||||
wanAddr->sin_family = AF_INET;
|
||||
reportedWanAddr->sin_family = AF_INET;
|
||||
*foundPortForwardingRules = false;
|
||||
*igdDisconnected = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user