From 2a505d1d86da36b6a1eb3ac4ed54f009513f9d58 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 21 Aug 2009 06:07:04 +0000 Subject: [PATCH] do not include MAPPED-ADDRESS in new style responses since it is not required by the RFC SVN Revision: 2514 --- src/stun/ejabberd_stun.erl | 1 - 1 file changed, 1 deletion(-) 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 ->