aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2018-09-12 09:32:58 +0200
committerAnders Svensson <[email protected]>2018-09-12 09:32:58 +0200
commitfd62d6242e1aae342245ca66bd8a69d70018f4db (patch)
tree485468e045f2e3204db6a743a6e981739b0405e0 /lib
parentfe2e3e59cbcdb6e0001348c278eaf34037ab54ab (diff)
parentf66f12e2d0014ad14d663fb1a0dafaa665bff303 (diff)
downloadotp-fd62d6242e1aae342245ca66bd8a69d70018f4db.tar.gz
otp-fd62d6242e1aae342245ca66bd8a69d70018f4db.tar.bz2
otp-fd62d6242e1aae342245ca66bd8a69d70018f4db.zip
Merge branch 'anders/diameter/dpr/OTP-15198' into maint
* anders/diameter/dpr/OTP-15198: Fix function_clause when sending a request after an outgoing DPA
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/base/diameter_peer_fsm.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_peer_fsm.erl b/lib/diameter/src/base/diameter_peer_fsm.erl
index d99f11a697..cf5e7f21d3 100644
--- a/lib/diameter/src/base/diameter_peer_fsm.erl
+++ b/lib/diameter/src/base/diameter_peer_fsm.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2017. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -901,7 +901,7 @@ outgoing(#diameter_packet{header = #diameter_header{is_request = false}}
ok;
%% Outgoing request: discard.
-outgoing(Msg, #state{dpr = {_,_,_}}) ->
+outgoing(Msg, #state{}) ->
invalid(false, send_after_dpr, header(Msg)).
header(#diameter_packet{header = H}) ->