24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-10 21:47:01 +02:00

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

SVN Revision: 2515
This commit is contained in:
Evgeniy Khramtsov 2009-08-21 06:07:55 +00:00
parent d05565c6e0
commit 6688b4ea78

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 ->