diff options
author | Anders Svensson <[email protected]> | 2013-05-03 01:38:12 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-05-17 15:16:03 +0200 |
commit | 38a75600cbd5b51ae61921df78cc02348e563564 (patch) | |
tree | ef813baa93bc010edfec43ae77b469c7b7a73fca /lib/diameter/test/diameter_codec_SUITE_data | |
parent | f7ec93e3aabdae29aba51f1e2aff0cfc5f983043 (diff) | |
download | otp-38a75600cbd5b51ae61921df78cc02348e563564.tar.gz otp-38a75600cbd5b51ae61921df78cc02348e563564.tar.bz2 otp-38a75600cbd5b51ae61921df78cc02348e563564.zip |
Detect all 5005 (MISSING_AVP) errors and don't reverse errors
The previous commit ensures that only one will be reported in an answer
message when diameter itself sets Result-Code/Failed-AVP.
The order of errors in #diameter_packet.errors is that in which they're
detected, not the reverse as previously.
Diffstat (limited to 'lib/diameter/test/diameter_codec_SUITE_data')
-rw-r--r-- | lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl b/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl index bce3d78a37..49f2158b1a 100644 --- a/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl +++ b/lib/diameter/test/diameter_codec_SUITE_data/diameter_test_unknown.erl @@ -71,6 +71,6 @@ dec('AR', #diameter_packet dec('BR', #diameter_packet {msg = #recv_BR{'Origin-Host' = ?HOST, 'Origin-Realm' = ?REALM}, - errors = [{5008, ?NOT_MANDATORY_YYY}, - {5001, ?MANDATORY_XXX}]}) -> + errors = [{5001, ?MANDATORY_XXX}, + {5008, ?NOT_MANDATORY_YYY}]}) -> ok. |