diff options
author | Youness Alaoui <kakaroto@kakaroto.(none)> | 2008-09-17 02:46:54 -0400 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.(none)> | 2008-09-17 02:46:54 -0400 |
commit | 6062673211542345b8ea00df64a56c35bb31da6d (patch) | |
tree | 2f5cf1eaa8d842d9ce1bb78c1d3ae2e1b2685421 /stun | |
parent | 78d75e83681ae96ca919b48a0b7d688de5fb1b4b (diff) | |
download | libnice-6062673211542345b8ea00df64a56c35bb31da6d.tar.gz |
The MSN mapped address is not XOR-ed
Diffstat (limited to 'stun')
-rw-r--r-- | stun/usages/turn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stun/usages/turn.c b/stun/usages/turn.c index 91cd4a9..3427e2d 100644 --- a/stun/usages/turn.c +++ b/stun/usages/turn.c @@ -269,8 +269,8 @@ StunUsageTurnReturn stun_usage_turn_process (StunMessage *msg, stun_debug (" No MAPPED-ADDRESS: %s\n", strerror (val)); return STUN_USAGE_TURN_RETURN_ERROR; } - }else if (compatibility == STUN_USAGE_TURN_COMPATIBILITY_MSN) { - val = stun_message_find_xor_addr (msg, + } else if (compatibility == STUN_USAGE_TURN_COMPATIBILITY_MSN) { + val = stun_message_find_addr (msg, STUN_ATTRIBUTE_MSN_MAPPED_ADDRESS, addr, addrlen); if (val == 0) |