aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_traffic.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-03-24 11:01:20 +0100
committerAnders Svensson <[email protected]>2015-03-24 11:01:20 +0100
commitbcecea772faea599ffd56776b1177865f08ca7b5 (patch)
tree6636da4dcf8b916d4a5f83724a6468ad2a49bca6 /lib/diameter/src/base/diameter_traffic.erl
parent7d05e55951b4f3fc4af0febb965d3075e5ddf324 (diff)
parent9321b4b3aa332f140268ef8f3251f6314a4984fe (diff)
downloadotp-bcecea772faea599ffd56776b1177865f08ca7b5.tar.gz
otp-bcecea772faea599ffd56776b1177865f08ca7b5.tar.bz2
otp-bcecea772faea599ffd56776b1177865f08ca7b5.zip
Merge branch 'anders/diameter/route_record/OTP-12551' into maint
* anders/diameter/route_record/OTP-12551: Fix ordering of AVPs in relayed messages
Diffstat (limited to 'lib/diameter/src/base/diameter_traffic.erl')
-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 0b503338a6..0c62ccea49 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -596,7 +596,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],
+ Msg = [Hdr, Route | Avps], %% reordered at encode
resend(send_request(SvcName, App, Msg, Opts), Caps, Dict0, Pkt).
%% The incoming request is relayed with the addition of a
%% Route-Record. Note the requirement on the return from call/4 below,