aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/include
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-30 23:32:44 +0200
committerAnders Svensson <[email protected]>2017-08-31 11:48:18 +0200
commit5c0024cd76782f67499a09f7c524845d913408fc (patch)
tree87efdccd0600c1005805315132a8830e57a034f4 /lib/inets/include
parentce08fb57a66d20fdb3074ca62b7aac0228825e0a (diff)
downloadotp-5c0024cd76782f67499a09f7c524845d913408fc.tar.gz
otp-5c0024cd76782f67499a09f7c524845d913408fc.tar.bz2
otp-5c0024cd76782f67499a09f7c524845d913408fc.zip
Enumerate AVPs in diameter_avp.index (again)
Commit 96cd627a changed the way the index field was used, but the enumeration is used in at least one known application (as a pointer from elements of diameter_packet.errors to elements of diameter_packet.avps) and the motivation for the change is questionable: the lookup that was avoided was unnecessary given that it was already performed in incrementing a counter. Revert to enumerating as before in the non-relay case, but not in the relay case since there's no corresponding usecase.
Diffstat (limited to 'lib/inets/include')
0 files changed, 0 insertions, 0 deletions