aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-01-17 11:39:11 +0100
committerAnders Svensson <[email protected]>2013-01-17 11:39:11 +0100
commit7eae73d5676438c273a030d7d7402802b5a1d427 (patch)
tree3b8d2dfcc0d0a7965cd844b8224f9bb8912ea6b3
parent54366be1624b01efadbaada8d0c2f3fe590a6ebe (diff)
parentb41438d187e168c11140c3a05502224a6c97bdf7 (diff)
downloadotp-7eae73d5676438c273a030d7d7402802b5a1d427.tar.gz
otp-7eae73d5676438c273a030d7d7402802b5a1d427.tar.bz2
otp-7eae73d5676438c273a030d7d7402802b5a1d427.zip
Merge branch 'anders/diameter/packet_return/OTP-10614'
* anders/diameter/packet_return/OTP-10614: Add missing error handling clause for handle_request packet return
-rw-r--r--lib/diameter/src/base/diameter_service.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index 92d1cfeba9..7a9686fbf0 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -2243,6 +2243,9 @@ rc(RC) ->
%% rc/4
+rc(#diameter_packet{msg = Rec} = Pkt, RC, Failed, Dict) ->
+ Pkt#diameter_packet{msg = rc(Rec, RC, Failed, Dict)};
+
rc(Rec, RC, Failed, Dict)
when is_integer(RC) ->
set(Rec,