mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 860397: turn_unittest checks that TURN_SERVER_ADDRESS is IP#s not FQDN r=rjesup
This commit is contained in:
parent
db3f6c871b
commit
e119b4ec5d
@ -345,7 +345,15 @@ int main(int argc, char **argv)
|
||||
"environment variables to run this test\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
{
|
||||
nr_transport_addr addr;
|
||||
if (nr_ip4_str_port_to_transport_addr(g_turn_server.c_str(), 3478,
|
||||
IPPROTO_UDP, &addr)) {
|
||||
printf("Invalid TURN_SERVER_ADDRESS \"%s\". Only IP numbers supported.\n",
|
||||
g_turn_server.c_str());
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
test_utils = new MtransportTestUtils();
|
||||
NSS_NoDB_Init(nullptr);
|
||||
NSS_SetDomesticPolicy();
|
||||
|
Loading…
Reference in New Issue
Block a user