diff options
author | Anders Svensson <[email protected]> | 2017-09-18 15:20:36 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-09-18 15:20:36 +0200 |
commit | 7762e599aedd9bbc62a995f39b6b2230ee26fba5 (patch) | |
tree | 55a47eeeadf283b1105e531ba80cd93878cce1c1 /lib | |
parent | f40a0efc382925ebb9491eadad917769a52537fe (diff) | |
parent | 8133161bc0e6c05471cfc34ba904afcc7baeac10 (diff) | |
download | otp-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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/diameter/src/base/diameter_traffic.erl | 2 |
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; |