diff options
author | Anders Svensson <[email protected]> | 2015-05-02 10:14:58 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-05-05 12:42:54 +0200 |
commit | a1df50b38826370b84ec557de401bc1b09d56de7 (patch) | |
tree | 154970a12d14f0424329eb60d03f0595abd2e136 /lib/webtool/ebin | |
parent | 545890576542e4be630df8772654b99bd0306f62 (diff) | |
download | otp-a1df50b38826370b84ec557de401bc1b09d56de7.tar.gz otp-a1df50b38826370b84ec557de401bc1b09d56de7.tar.bz2 otp-a1df50b38826370b84ec557de401bc1b09d56de7.zip |
Don't confuse Result-Code and Experimental-Result
Decode of an answer message not setting the E-bit, and containing
Experiment-Result but not Result-Code, identified Result-Code as the
erroneous when Erroneous-Result-Code was 3xxx. Here's an example (from
trace) of a the errors field after decode:
[{5004,
{diameter_avp,undefined,undefined,false,false,undefined,'Result-Code',
3001,undefined,undefined}}],
The diameter_avp was just constructed from the AVP name and decoded
result, without regard for which result code AVP contained the value.
Fix by extracting the AVP from the incoming message.
Diffstat (limited to 'lib/webtool/ebin')
0 files changed, 0 insertions, 0 deletions