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:
parent
4be5c0c90c
commit
2a505d1d86
@ -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 ->
|
||||||
|
Loading…
Reference in New Issue
Block a user