diff options
author | Anders Svensson <[email protected]> | 2015-05-17 16:24:44 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-05-18 14:12:55 +0200 |
commit | 275cb3f7959d91b4b814a4123580cc9035fac712 (patch) | |
tree | eae512af4faab874e2b71c4c2d3f2bbf2d29c939 /lib | |
parent | 083c866300bde2ef4619b98338052c3640b0faa5 (diff) | |
download | otp-275cb3f7959d91b4b814a4123580cc9035fac712.tar.gz otp-275cb3f7959d91b4b814a4123580cc9035fac712.tar.bz2 otp-275cb3f7959d91b4b814a4123580cc9035fac712.zip |
Fix counting of no_result_code/invalid_error_bit
The message was regarded as unknown if the answer message in question
set the E-bit and the application dictionary was not the common
dictionary.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/diameter/src/base/diameter_traffic.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl index bc5965c286..eb4bbae931 100644 --- a/lib/diameter/src/base/diameter_traffic.erl +++ b/lib/diameter/src/base/diameter_traffic.erl @@ -186,13 +186,13 @@ incr_error(Dir, Id, TPid) -> | {'Experimental-Result', integer(), integer()}, Reason :: atom(). -incr_rc(Dir, Pkt, TPid, {MsgDict, _, _} = DictT) -> +incr_rc(Dir, Pkt, TPid, {_, AppDict, _} = DictT) -> try incr_result(Dir, Pkt, TPid, DictT) catch exit: {E,_} when E == no_result_code; E == invalid_error_bit -> - incr(TPid, {msg_id(Pkt#diameter_packet.header, MsgDict), Dir, E}), + incr(TPid, {msg_id(Pkt#diameter_packet.header, AppDict), Dir, E}), E end; |