aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-09-18 15:20:36 +0200
committerAnders Svensson <[email protected]>2017-09-18 15:20:36 +0200
commit7762e599aedd9bbc62a995f39b6b2230ee26fba5 (patch)
tree55a47eeeadf283b1105e531ba80cd93878cce1c1
parentf40a0efc382925ebb9491eadad917769a52537fe (diff)
parent8133161bc0e6c05471cfc34ba904afcc7baeac10 (diff)
downloadotp-7762e599aedd9bbc62a995f39b6b2230ee26fba5.tar.gz
otp-7762e599aedd9bbc62a995f39b6b2230ee26fba5.tar.bz2
otp-7762e599aedd9bbc62a995f39b6b2230ee26fba5.zip
Merge branch 'anders/diameter/performance/OTP-14521' into maint
* anders/diameter/performance/OTP-14521: Fix append of Route-Record AVPs
-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 f510f40a17..d2856ae530 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -684,7 +684,7 @@ resend(false,
Route = #diameter_avp{data = {Dict0, 'Route-Record', OH}},
Seq = diameter_session:sequence(Mask),
Hdr = Hdr0#diameter_header{hop_by_hop_id = Seq},
- Msg = [Hdr, Route | Avps], %% reordered at encode
+ Msg = [Hdr | Avps ++ [Route]],
case send_request(SvcName, App, Msg, Opts) of
#diameter_packet{} = Ans ->
Ans;