diff options
author | Erlang/OTP <[email protected]> | 2015-08-13 12:34:02 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2015-08-13 12:34:02 +0200 |
commit | e67e20613e17739b084d7f10e1feb7ca11a92708 (patch) | |
tree | f8d370943ec152ba7d1350119f3626f60efe3ac3 /lib/diameter/src/base/diameter_traffic.erl | |
parent | 42aec60356991616ab229e2fdf346429d9e6ddf9 (diff) | |
parent | 780ea64fff1bae552510ed419ec2bb011923a5cc (diff) | |
download | otp-e67e20613e17739b084d7f10e1feb7ca11a92708.tar.gz otp-e67e20613e17739b084d7f10e1feb7ca11a92708.tar.bz2 otp-e67e20613e17739b084d7f10e1feb7ca11a92708.zip |
Merge branch 'anders/diameter/transport/OTP-12929' into maint-17
* anders/diameter/transport/OTP-12929:
Fix start order of alternate transports
Log discarded answers
Diffstat (limited to 'lib/diameter/src/base/diameter_traffic.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_traffic.erl | 3 |
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. |