25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01: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}}; 'MAPPED-ADDRESS' = {Addr, Port}};
new -> new ->
Resp#stun{class = response, Resp#stun{class = response,
'MAPPED-ADDRESS' = {Addr, Port},
'XOR-MAPPED-ADDRESS' = {Addr, Port}} 'XOR-MAPPED-ADDRESS' = {Addr, Port}}
end; end;
true -> true ->