dns: allow uPnP packets through
This commit is contained in:
@ -420,6 +420,10 @@ static int WSAAPI hook_getaddrinfo(
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!strcmp(pNodeName, "239.255.255.250") && !strcmp(pServiceName, "1900")) {
|
||||
return next_getaddrinfo(pNodeName, pServiceName, pHints, ppResult);
|
||||
}
|
||||
|
||||
mbstowcs_s(&wstr_c, NULL, 0, pNodeName, 0);
|
||||
wstr = malloc(wstr_c * sizeof(wchar_t));
|
||||
|
||||
|
Reference in New Issue
Block a user