aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_traffic.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-06-22 00:40:56 +0200
committerAnders Svensson <[email protected]>2015-06-22 00:40:56 +0200
commit72f5c50ae1929cbbbdafe073477214e3c4015ef2 (patch)
tree15b21ab25716556f27a288481ff72a71458098e9 /lib/diameter/src/base/diameter_traffic.erl
parent5fff4543e890229527c2b8875fbc96aa88c87ad9 (diff)
parentb409496fdb0eaa293a63f5c98c8f642aa8ce7aaa (diff)
downloadotp-72f5c50ae1929cbbbdafe073477214e3c4015ef2.tar.gz
otp-72f5c50ae1929cbbbdafe073477214e3c4015ef2.tar.bz2
otp-72f5c50ae1929cbbbdafe073477214e3c4015ef2.zip
Merge branch 'anders/diameter/sctp/OTP-12768'
* anders/diameter/sctp/OTP-12768: Fix connection timeouts in test transports Fix start order of alternate transports Log discarded answers Ensure accepting processes are first in, first out Remove upgrade-related code Be less parallel in traffic suite Increase send/receive buffers for testsuite SCTP listeners Decrease unnecessarily long testsuite timetraps Simplify accepting transport start Simplify peeloff signaling Simplify socket close at terminate Don't monitor listener after peeloff Don't receive initial messages out of order Remove assumption that SCTP association ids will be unique
Diffstat (limited to 'lib/diameter/src/base/diameter_traffic.erl')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index eb4bbae931..230a05fa11 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -261,7 +261,8 @@ recv(false, #request{ref = Ref, handler = Pid} = Req, _, Pkt, Dict0, _) ->
%% any others are discarded.
%% ... or not.
-recv(false, false, TPid, _, _, _) ->
+recv(false, false, TPid, Pkt, _, _) ->
+ ?LOG(discarded, Pkt#diameter_packet.header),
incr(TPid, {{unknown, 0}, recv, discarded}),
ok.