From 8ce053a7d550a81d40b40e4773678e4a9d57f984 Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Sun, 10 Sep 2017 16:24:52 +0200 Subject: Fix avp_dictionaries decode with {decode_format, none} Decode is only a no-op when the AVP is Grouped, and then only on the Grouped AVP itself, not its components. --- lib/diameter/src/base/diameter_gen.erl | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') diff --git a/lib/diameter/src/base/diameter_gen.erl b/lib/diameter/src/base/diameter_gen.erl index 6add06ea38..3edc5414d7 100644 --- a/lib/diameter/src/base/diameter_gen.erl +++ b/lib/diameter/src/base/diameter_gen.erl @@ -471,9 +471,6 @@ field(_) -> %% AVP not in dictionary: try an alternate. -dec(_, _, 'AVP', _Mod, none, _, Avp) -> %% none decode is no-op - Avp; - dec(Data, Name, 'AVP', Mod, Fmt, Opts, Avp) -> dec_AVP(dicts(Mod, Opts), Data, Name, Mod, Fmt, Opts, Avp); -- cgit v1.2.3