diff options
author | Anders Svensson <[email protected]> | 2015-09-14 23:41:46 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-09-14 23:41:46 +0200 |
commit | a8d17f7e69e853d1bc858e72dc9daf6beed30f19 (patch) | |
tree | 945fdac18a607297ad7fd834dd2a1d1b0e1a936c /lib/diameter/src/base/diameter_service.erl | |
parent | 44a53a37f39e65c935ed2648ec74dc0f741611e1 (diff) | |
parent | 502189ba42469d3332bc0658caa2bd0de1e3fcb9 (diff) | |
download | otp-a8d17f7e69e853d1bc858e72dc9daf6beed30f19.tar.gz otp-a8d17f7e69e853d1bc858e72dc9daf6beed30f19.tar.bz2 otp-a8d17f7e69e853d1bc858e72dc9daf6beed30f19.zip |
Merge branch 'anders/diameter/M-bit/OTP-12947' into maint
* anders/diameter/M-bit/OTP-12947:
Add service_opt() strict_mbit
Diffstat (limited to 'lib/diameter/src/base/diameter_service.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_service.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl index e47b975768..13508321c3 100644 --- a/lib/diameter/src/base/diameter_service.erl +++ b/lib/diameter/src/base/diameter_service.erl @@ -129,6 +129,7 @@ | {share_peers, diameter:remotes()} %% broadcast to | {use_shared_peers, diameter:remotes()} %% use from | {restrict_connections, diameter:restriction()} + | {strict_mbit, boolean()} | {string_decode, boolean()} | {incoming_maxlen, diameter:message_length()}]}). %% shared_peers reflects the peers broadcast from remote nodes. @@ -698,7 +699,8 @@ service_options(Opts) -> ?RESTRICT)}, {spawn_opt, proplists:get_value(spawn_opt, Opts, [])}, {string_decode, proplists:get_value(string_decode, Opts, true)}, - {incoming_maxlen, proplists:get_value(incoming_maxlen, Opts, 16#FFFFFF)}]. + {incoming_maxlen, proplists:get_value(incoming_maxlen, Opts, 16#FFFFFF)}, + {strict_mbit, proplists:get_value(strict_mbit, Opts, true)}]. %% The order of options is significant since we match against the list. mref(false = No) -> |