aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-09-11 16:03:29 +0200
committerAnders Svensson <[email protected]>2017-09-11 16:03:29 +0200
commit285745e495e88b134e3a4841fd940230a77b8456 (patch)
treee0a88f096e652ca63d008f3015ace4a24047ab9d
parentc207bcd1cd9633a982d0dfa4a5a8d4569f7c3eac (diff)
parent8ce053a7d550a81d40b40e4773678e4a9d57f984 (diff)
downloadotp-285745e495e88b134e3a4841fd940230a77b8456.tar.gz
otp-285745e495e88b134e3a4841fd940230a77b8456.tar.bz2
otp-285745e495e88b134e3a4841fd940230a77b8456.zip
Merge branch 'anders/diameter/DOIC/OTP-14588' into anders/diameter/grouped_decode/OTP-14607
* anders/diameter/DOIC/OTP-14588: Fix avp_dictionaries decode with {decode_format, none}
-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);