aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-05 16:54:37 +0100
committerAnders Svensson <[email protected]>2012-11-05 16:54:37 +0100
commit172830959159cddd3db1c9aa544b174d22ffcf47 (patch)
tree71aa80b871de38be05b0d41b50a1f23c99aff91f
parent952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 (diff)
parentead9e5325c52a7271796c9e3a053d50cd86a189c (diff)
downloadotp-172830959159cddd3db1c9aa544b174d22ffcf47.tar.gz
otp-172830959159cddd3db1c9aa544b174d22ffcf47.tar.bz2
otp-172830959159cddd3db1c9aa544b174d22ffcf47.zip
Merge branch 'anders/diameter/patch/R15B02/failover_error/OTP-10461' into anders/diameter/patch/R15B02/OTP-10555
* anders/diameter/patch/R15B02/failover_error/OTP-10461: Add missing clause for peer failover
-rw-r--r--lib/diameter/src/base/diameter_codec.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_codec.erl b/lib/diameter/src/base/diameter_codec.erl
index 421e280422..a94d37f7a8 100644
--- a/lib/diameter/src/base/diameter_codec.erl
+++ b/lib/diameter/src/base/diameter_codec.erl
@@ -333,6 +333,9 @@ decode_header(_) ->
%% wraparound counter. The 8-bit counter is incremented each time the
%% system is restarted.
+sequence_numbers({_,_} = T) ->
+ T;
+
sequence_numbers(#diameter_packet{bin = Bin})
when is_binary(Bin) ->
sequence_numbers(Bin);