Commit 673ffc56 authored by Youness Alaoui's avatar Youness Alaoui

tests should not depend on an interface on 192.168.0.x. Use 127.0.0.1 instead

parent ebc0e5cc
......@@ -57,7 +57,7 @@ main (void)
/* set up agent */
agent = nice_agent_new (NULL, NICE_COMPATIBILITY_DRAFT19);
g_assert (nice_address_set_from_string (&addr, "192.168.0.1"));
g_assert (nice_address_set_from_string (&addr, "127.0.0.1"));
nice_agent_add_local_address (agent, &addr);
stream_id = nice_agent_add_stream (agent, 1);
nice_agent_gather_candidates (agent, stream_id);
......
......@@ -58,8 +58,8 @@ main (void)
g_thread_init (NULL);
g_assert (nice_address_set_from_string (&addr_local, "192.168.0.1"));
g_assert (nice_address_set_from_string (&addr_remote, "192.168.0.2"));
g_assert (nice_address_set_from_string (&addr_local, "127.0.0.1"));
g_assert (nice_address_set_from_string (&addr_remote, "127.0.0.1"));
nice_address_set_port (&addr_remote, 2345);
agent = nice_agent_new ( NULL, NICE_COMPATIBILITY_DRAFT19);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment