aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/include
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-05-02 18:52:18 +0200
committerAnders Svensson <[email protected]>2013-05-17 15:16:03 +0200
commitf7ec93e3aabdae29aba51f1e2aff0cfc5f983043 (patch)
tree26871cc27e5d11b9a400bd3fb90b50fb9ff8d5e1 /lib/diameter/include
parentbbf57326a758f01fd29940f0ea06755c9f7c5cb4 (diff)
downloadotp-f7ec93e3aabdae29aba51f1e2aff0cfc5f983043.tar.gz
otp-f7ec93e3aabdae29aba51f1e2aff0cfc5f983043.tar.bz2
otp-f7ec93e3aabdae29aba51f1e2aff0cfc5f983043.zip
Adapt Failed-AVP setting to RFC 6733
When setting these from an #diameter_packet.errors list, select one Result-Code or {Result-Code, Failed-AVP}, instead of accumulating all AVP's from the 2-tuples in the list. This is more in keeping with RFC 6733: 7.5. Failed-AVP AVP The Failed-AVP AVP (AVP Code 279) is of type Grouped and provides debugging information in cases where a request is rejected or not fully processed due to erroneous information in a specific AVP. The value of the Result-Code AVP will provide information on the reason for the Failed-AVP AVP. A Diameter answer message SHOULD contain an instance of the Failed-AVP AVP that corresponds to the error indicated by the Result-Code AVP. For practical purposes, this Failed-AVP would typically refer to the first AVP processing error that a Diameter node encounters. The text of RFC 3588 was less specific, not including the last two sentences. Note that an improper AVP Length will result in both 5014 and 5005 being detected for the same AVP. Without this commit, Failed-AVP would be populated with two AVP's for the same error.
Diffstat (limited to 'lib/diameter/include')
0 files changed, 0 insertions, 0 deletions