25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

do not include MAPPED-ADDRESS in new style responses since it is not required by the RFC

SVN Revision: 2514
This commit is contained in:
Evgeniy Khramtsov 2009-08-21 06:07:04 +00:00
parent 4be5c0c90c
commit 2a505d1d86

View File

@ -197,7 +197,6 @@ process(Addr, Port, #stun{class = request, unsupported = []} = Msg) ->
'MAPPED-ADDRESS' = {Addr, Port}};
new ->
Resp#stun{class = response,
'MAPPED-ADDRESS' = {Addr, Port},
'XOR-MAPPED-ADDRESS' = {Addr, Port}}
end;
true ->