Commit 60626732 authored by Youness Alaoui's avatar Youness Alaoui

The MSN mapped address is not XOR-ed

parent 78d75e83
...@@ -269,8 +269,8 @@ StunUsageTurnReturn stun_usage_turn_process (StunMessage *msg, ...@@ -269,8 +269,8 @@ StunUsageTurnReturn stun_usage_turn_process (StunMessage *msg,
stun_debug (" No MAPPED-ADDRESS: %s\n", strerror (val)); stun_debug (" No MAPPED-ADDRESS: %s\n", strerror (val));
return STUN_USAGE_TURN_RETURN_ERROR; return STUN_USAGE_TURN_RETURN_ERROR;
} }
}else if (compatibility == STUN_USAGE_TURN_COMPATIBILITY_MSN) { } else if (compatibility == STUN_USAGE_TURN_COMPATIBILITY_MSN) {
val = stun_message_find_xor_addr (msg, val = stun_message_find_addr (msg,
STUN_ATTRIBUTE_MSN_MAPPED_ADDRESS, addr, addrlen); STUN_ATTRIBUTE_MSN_MAPPED_ADDRESS, addr, addrlen);
if (val == 0) if (val == 0)
......
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