aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-05-04 13:31:02 +0200
committerAnders Svensson <[email protected]>2017-06-13 13:50:07 +0200
commit7384de812f6399a841c8edf0503402e940fd17a4 (patch)
tree9c1b3c259c5b7702a478abe9d405646571cc4dd8 /lib/diameter
parent011fa124e88d94dd0d4dfd7261ca0fddc3547114 (diff)
downloadotp-7384de812f6399a841c8edf0503402e940fd17a4.tar.gz
otp-7384de812f6399a841c8edf0503402e940fd17a4.tar.bz2
otp-7384de812f6399a841c8edf0503402e940fd17a4.zip
Avoid sending answer terms between processes unnecessarily
As in commit fb14eac9, but for outgoing answers.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index 42164c48c0..54f39afbf0 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -561,7 +561,7 @@ send_answer(Pkt, TPid, MsgDict, AppDict, Dict0, [EvalPktFs | EvalFs]) ->
eval_packet(Pkt, EvalPktFs),
incr(send, Pkt, TPid, AppDict),
incr_rc(send, Pkt, TPid, {MsgDict, AppDict, Dict0}), %% count outgoing
- send(TPid, Pkt, _Route = self()),
+ send(TPid, z(Pkt), _Route = self()),
lists:foreach(fun diameter_lib:eval/1, EvalFs).
%% msg_dict/3