aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_gen.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-09-01 17:37:24 +0200
committerAnders Svensson <[email protected]>2017-09-04 15:45:04 +0200
commit382c88e5fdb92c6f97acad2f1c260cc69759b8e5 (patch)
tree88cbf09ca64dd3b32ae52cc5a49b1b25d0de6768 /lib/diameter/src/base/diameter_gen.erl
parent22ce93c35f3bdc490cedc7d63529ed3e2fb20556 (diff)
downloadotp-382c88e5fdb92c6f97acad2f1c260cc69759b8e5.tar.gz
otp-382c88e5fdb92c6f97acad2f1c260cc69759b8e5.tar.bz2
otp-382c88e5fdb92c6f97acad2f1c260cc69759b8e5.zip
Rename field in codec map: dictionary -> app_dictionary
To better reflect what the field is: field 'module' is the dictionary module that's calling diameter_gen to decode a list of AVP, while field 'app_dictionary' is the dictionary module defining the message being decoded.
Diffstat (limited to 'lib/diameter/src/base/diameter_gen.erl')
-rw-r--r--lib/diameter/src/base/diameter_gen.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_gen.erl b/lib/diameter/src/base/diameter_gen.erl
index 307c3b4254..1c699f6be6 100644
--- a/lib/diameter/src/base/diameter_gen.erl
+++ b/lib/diameter/src/base/diameter_gen.erl
@@ -503,7 +503,7 @@ decode1(_Data, _Name, 'AVP', _Mod, _Fmt, _Opts, Avp) ->
%% "not defined".)
decode1(Data, Name, {AvpName, Type}, Mod, Fmt, Opts, Avp) ->
- #{dictionary := AppMod, failed_avp := Failed}
+ #{app_dictionary := AppMod, failed_avp := Failed}
= Opts,
%% Reset the dictionary for best-effort decode of Failed-AVP.