Commit ec7dbae5 authored by Youness Alaoui's avatar Youness Alaoui

stunbdc and stund should use 3489bis to allow the unit tests to run

parent 9f5d0b5b
...@@ -265,7 +265,7 @@ static int run (int family, int protocol, unsigned port) ...@@ -265,7 +265,7 @@ static int run (int family, int protocol, unsigned port)
stun_agent_init (&agent, known_attributes, stun_agent_init (&agent, known_attributes,
STUN_COMPATIBILITY_RFC3489, 0); STUN_COMPATIBILITY_3489BIS, STUN_AGENT_USAGE_USE_FINGERPRINT);
for (;;) for (;;)
dgram_process (sock, &agent); dgram_process (sock, &agent);
......
...@@ -170,7 +170,7 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv, ...@@ -170,7 +170,7 @@ StunUsageBindReturn stun_usage_bind_run (const struct sockaddr *srv,
StunUsageBindReturn bind_ret; StunUsageBindReturn bind_ret;
stun_agent_init (&agent, STUN_ALL_KNOWN_ATTRIBUTES, stun_agent_init (&agent, STUN_ALL_KNOWN_ATTRIBUTES,
STUN_COMPATIBILITY_RFC3489, 0); STUN_COMPATIBILITY_3489BIS, STUN_AGENT_USAGE_USE_FINGERPRINT);
len = stun_usage_bind_create (&agent, &req, req_buf, sizeof(req_buf)); len = stun_usage_bind_create (&agent, &req, req_buf, sizeof(req_buf));
......
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