aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-05 11:35:19 +0100
committerAnders Svensson <[email protected]>2012-11-05 11:35:19 +0100
commit7bcb551e3a7b79cfd30ab787c21bd0113fe8acb4 (patch)
tree57641bb3f3407506ca19420cc8d03a137429581e /lib/diameter/src/base
parent5345370a1f44bf052a5228d94b7f3f94628b3e9f (diff)
parentead9e5325c52a7271796c9e3a053d50cd86a189c (diff)
downloadotp-7bcb551e3a7b79cfd30ab787c21bd0113fe8acb4.tar.gz
otp-7bcb551e3a7b79cfd30ab787c21bd0113fe8acb4.tar.bz2
otp-7bcb551e3a7b79cfd30ab787c21bd0113fe8acb4.zip
Merge branch 'anders/diameter/failover_error/OTP-10461' into maint
* anders/diameter/failover_error/OTP-10461: Add missing clause for peer failover
Diffstat (limited to 'lib/diameter/src/base')
-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);