aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_service.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-09-04 15:49:18 +0200
committerAnders Svensson <[email protected]>2013-09-04 16:35:55 +0200
commitc01e53a7caaa11c0745f4e0ce30df387b55f435b (patch)
treecc625df200d750394cc210db5d86c9131896d8b2 /lib/diameter/src/base/diameter_service.erl
parent8cece79b77952c991e62ae595bcf71cde016a052 (diff)
downloadotp-c01e53a7caaa11c0745f4e0ce30df387b55f435b.tar.gz
otp-c01e53a7caaa11c0745f4e0ce30df387b55f435b.tar.bz2
otp-c01e53a7caaa11c0745f4e0ce30df387b55f435b.zip
Fix broken spawn_opt
The option was morphed into a boolean() and then ignored.
Diffstat (limited to 'lib/diameter/src/base/diameter_service.erl')
-rw-r--r--lib/diameter/src/base/diameter_service.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index 9dd8aafc61..47e03cd0a0 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -673,7 +673,8 @@ service_options(Opts) ->
{use_shared_peers, get_value(use_shared_peers, Opts)},
{restrict_connections, proplists:get_value(restrict_connections,
Opts,
- ?RESTRICT)}].
+ ?RESTRICT)},
+ {spawn_opt, proplists:get_value(spawn_opt, Opts, [])}].
%% The order of options is significant since we match against the list.
mref(false = No) ->