aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <xramtsov@gmail.com>2009-08-21 06:07:04 +0000
committerEvgeniy Khramtsov <xramtsov@gmail.com>2009-08-21 06:07:04 +0000
commit2a505d1d86da36b6a1eb3ac4ed54f009513f9d58 (patch)
tree3795fc5477da82125ce9c79618e30684dab62708
parentShow example config to disable account create/delete, and allow password change. (diff)
do not include MAPPED-ADDRESS in new style responses since it is not required by the RFC
SVN Revision: 2514
-rw-r--r--src/stun/ejabberd_stun.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stun/ejabberd_stun.erl b/src/stun/ejabberd_stun.erl
index d5085821f..2c27f321d 100644
--- a/src/stun/ejabberd_stun.erl
+++ b/src/stun/ejabberd_stun.erl
@@ -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 ->