diff options
author | Anders Svensson <[email protected]> | 2017-09-01 17:37:24 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-09-04 15:45:04 +0200 |
commit | 382c88e5fdb92c6f97acad2f1c260cc69759b8e5 (patch) | |
tree | 88cbf09ca64dd3b32ae52cc5a49b1b25d0de6768 /lib/diameter/src/base/diameter_codec.erl | |
parent | 22ce93c35f3bdc490cedc7d63529ed3e2fb20556 (diff) | |
download | otp-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_codec.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_codec.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_codec.erl b/lib/diameter/src/base/diameter_codec.erl index 63e39b12d1..4f024f9947 100644 --- a/lib/diameter/src/base/diameter_codec.erl +++ b/lib/diameter/src/base/diameter_codec.erl @@ -324,7 +324,7 @@ decode_avps(MsgName, Mod, AppMod, Opts, #diameter_packet{bin = Bin} = Pkt) -> {_, Avps} = split_binary(Bin, 20), {Rec, As, Errors} = Mod:decode_avps(MsgName, Avps, - Opts#{dictionary => AppMod, + Opts#{app_dictionary => AppMod, failed_avp => false}), ?LOGC([] /= Errors, decode_errors, Pkt#diameter_packet.header), Pkt#diameter_packet{msg = reformat(MsgName, Rec, Opts), |