Commit 11d3ded8 authored by Youness Alaoui's avatar Youness Alaoui

oups, this caused non-msn calls to fail

parent 7d019fb9
...@@ -2636,8 +2636,8 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream, ...@@ -2636,8 +2636,8 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream,
if (stun_message_get_class (&req) == STUN_REQUEST) { if (stun_message_get_class (&req) == STUN_REQUEST) {
if (agent->compatibility == NICE_COMPATIBILITY_MSN && if (agent->compatibility == NICE_COMPATIBILITY_MSN) {
local_candidate && remote_candidate2) { if (local_candidate && remote_candidate2) {
username = (uint8_t *) stun_message_find (&req, username = (uint8_t *) stun_message_find (&req,
STUN_ATTRIBUTE_USERNAME, &username_len); STUN_ATTRIBUTE_USERNAME, &username_len);
uname_len = priv_create_username (agent, stream, uname_len = priv_create_username (agent, stream,
...@@ -2651,6 +2651,7 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream, ...@@ -2651,6 +2651,7 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream,
"Ignoring request", agent); "Ignoring request", agent);
return TRUE; return TRUE;
} }
}
rbuf_len = sizeof (rbuf); rbuf_len = sizeof (rbuf);
res = stun_usage_ice_conncheck_create_reply (&agent->stun_agent, &req, res = stun_usage_ice_conncheck_create_reply (&agent->stun_agent, &req,
......
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