aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_config.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-09-05 15:00:58 +0200
committerAnders Svensson <[email protected]>2017-09-05 15:00:58 +0200
commit31c4defc94c44f8cdb2bd54b0a4f829f47e4ac69 (patch)
treeaf3f1c1c58a0906ac5c9b074996a7e9d75f4ffcd /lib/diameter/src/base/diameter_config.erl
parent67f6114d3701dd38614acf520f13c07174a99d11 (diff)
parenteb54c14b3c0ad26c365e6be70256f16fc8e72d70 (diff)
downloadotp-31c4defc94c44f8cdb2bd54b0a4f829f47e4ac69.tar.gz
otp-31c4defc94c44f8cdb2bd54b0a4f829f47e4ac69.tar.bz2
otp-31c4defc94c44f8cdb2bd54b0a4f829f47e4ac69.zip
Merge branch 'anders/diameter/DOIC/OTP-14588' into maint
* anders/diameter/DOIC/OTP-14588: Exercise avp_dictionaries in traffic suite Let generic AVPs be encoded/decoded in alternate dictionaries Rename field in codec map: dictionary -> app_dictionary Add RFC 7683 Diameter Overload Indicator Conveyance text and dictionary Fix decode undef Fix dictionary compilation error message
Diffstat (limited to 'lib/diameter/src/base/diameter_config.erl')
-rw-r--r--lib/diameter/src/base/diameter_config.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl
index 284f885884..90a9282349 100644
--- a/lib/diameter/src/base/diameter_config.erl
+++ b/lib/diameter/src/base/diameter_config.erl
@@ -682,6 +682,9 @@ opt(_, {K, B})
K == strict_mbit ->
is_boolean(B);
+opt(_, {avp_dictionaries, Mods}) ->
+ is_list(Mods) andalso lists:all(fun erlang:is_atom/1, Mods);
+
opt(_, {length_errors, T}) ->
lists:member(T, [exit, handle, discard]);