aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-09-09 13:56:42 +0200
committerAnders Svensson <[email protected]>2013-09-09 13:56:42 +0200
commit9ffe1845cfe51163f6c36f5918e9d147a2bfbef8 (patch)
tree7233626f04587e1643402f4452f8e6bc318728e4
parent31c78ff54afff2233bf8b604df1b76dc5235a2e3 (diff)
parent9179631057b28c125ef3f0b84dede5adb26d3b96 (diff)
downloadotp-9ffe1845cfe51163f6c36f5918e9d147a2bfbef8.tar.gz
otp-9ffe1845cfe51163f6c36f5918e9d147a2bfbef8.tar.bz2
otp-9ffe1845cfe51163f6c36f5918e9d147a2bfbef8.zip
Merge branch 'anders/diameter/failed_avp/OTP-11293' into maint
* anders/diameter/failed_avp/OTP-11293: Fix Failed-AVP construction for CEA/DWA/DPA
-rw-r--r--lib/diameter/src/base/diameter_peer_fsm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_peer_fsm.erl b/lib/diameter/src/base/diameter_peer_fsm.erl
index 2b99ecc59c..282276827f 100644
--- a/lib/diameter/src/base/diameter_peer_fsm.erl
+++ b/lib/diameter/src/base/diameter_peer_fsm.erl
@@ -741,7 +741,7 @@ rejected(N, T, S) ->
rejected({N, []}, T, S).
failed_avp(RC, [{RC, Avp} | _]) ->
- [{'Failed-AVP', [{'AVP', [Avp]}]}];
+ [{'Failed-AVP', [[{'AVP', [Avp]}]]}];
failed_avp(RC, [_ | Es]) ->
failed_avp(RC, Es);
failed_avp(_, [] = No) ->