diff options
author | Anders Svensson <[email protected]> | 2017-07-30 01:27:42 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-03 17:17:37 +0200 |
commit | 96cd627acfde682875149effda4611dc778622fd (patch) | |
tree | da67ee6f943407b025d80a8ae2b332d5dd063b8a /lib/observer/test/etop_SUITE.erl | |
parent | 43b84071754a27894a44ffb0f34d4a03157ebeb5 (diff) | |
download | otp-96cd627acfde682875149effda4611dc778622fd.tar.gz otp-96cd627acfde682875149effda4611dc778622fd.tar.bz2 otp-96cd627acfde682875149effda4611dc778622fd.zip |
Count AVPs in #diameter_avp.index
The index field in record diameter_avp was previously used to enumerate
AVPs so that the list could be returned in some cases, since
diameter_codec:collect_avps/2 (now /1) reversed the order. That's no
longer the case as of the grandparent commit, so use the field to
enumerate instances of the same AVP instead, and only when arities are
being checked, to save having to look them up in the map when checking
for 5009 errors, or counting AVPs at all in diameter_codec:collect_avps/1.
Diffstat (limited to 'lib/observer/test/etop_SUITE.erl')
0 files changed, 0 insertions, 0 deletions