mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 23:35:27 +00:00
Fix uninitialized sin_family field returned from CheckWANAccess()
This commit is contained in:
parent
dee2daac5a
commit
bbf16383f5
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user