aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-09-10 16:24:52 +0200
committerAnders Svensson <[email protected]>2017-09-11 10:16:45 +0200
commit8ce053a7d550a81d40b40e4773678e4a9d57f984 (patch)
treecca6ec095f29537c1b315a99ebfa63047c5495b4 /lib/diameter/src
parenteb54c14b3c0ad26c365e6be70256f16fc8e72d70 (diff)
downloadotp-8ce053a7d550a81d40b40e4773678e4a9d57f984.tar.gz
otp-8ce053a7d550a81d40b40e4773678e4a9d57f984.tar.bz2
otp-8ce053a7d550a81d40b40e4773678e4a9d57f984.zip
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.
Diffstat (limited to 'lib/diameter/src')
-rw-r--r--lib/diameter/src/base/diameter_gen.erl3
1 files changed, 0 insertions, 3 deletions
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);